Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
use strict; use LWP::UserAgent; my $from_addr = 'what goes here?'; my $agent_name = 'scriptname.pl'; # name of script?? my $timeout = 5; my $ua = LWP::UserAgent->new; $ua->agent("$agent_name " . $ua->agent); $ua->from($from_addr); $ua->timeout($timeout);
2006-07-05 Retitled by planetscape, as per Monastery guidelines: one-word (or module-only) titles pose a hazard to site navigation
Original title: 'UserAgent'
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: What does LWP::UserAgent do?
by valdez (Monsignor) on Aug 28, 2002 at 10:20 UTC | |
|
Re: What does LWP::UserAgent do?
by moxliukas (Curate) on Aug 28, 2002 at 10:34 UTC | |
|
Re: What does LWP::UserAgent do?
by PodMaster (Abbot) on Aug 28, 2002 at 10:21 UTC | |
|
Re: What does LWP::UserAgent do?
by mrguy123 (Hermit) on Jul 05, 2006 at 09:51 UTC |