Forum Moderators: open

Message Too Old, No Replies

lwp-trivial?

         

Brett_Tabke

6:07 pm on Jun 26, 2001 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



Who is it? Is it a distributable script? Where can I dl it?

Jaf

11:13 pm on Jun 26, 2001 (gmt 0)

10+ Year Member



I think this is part of libwww perl, which is a set of perl modules available for accessing the net.

The URL I have for this on my webbots page is
[linpro.no...]

volatilegx

11:22 pm on Jun 26, 2001 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



LWP Trivial is the user agent used by the LWP::Simple module for perl. This module is used to make simplified requests for http objects, like the example below:

use LWP::Simple;
$page = get "http://www.foo.com/index.html";
print STDOUT $page;
exit;

You can download LWP::Simple from CPAN. The URL is: [search.cpan.org...]

Brett_Tabke

11:36 pm on Jun 26, 2001 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



Oh _slap forehead_. Did not realize that was the default. (that's the first thing I change in every lwp script).