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'
In reply to What does LWP::UserAgent do? by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |