I tried my perldoc -q UserAgent and it says no info available so
asking here what does the below UserAgent part doing? And what
do I need to fill in with some of the agent values for a script on
Windows NT workstation???
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
( keep:0 edit:8 reap:0 )
Original title: 'UserAgent'