imrags has asked for the wisdom of the Perl Monks concerning the following question:
I saw through the LWP module code, didn't find anything related to making it visible.use LWP::UserAgent; my $ua = LWP::UserAgent->new(visible=>1); $ua->agent('Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1'); my $request = HTTP::Request->new(GET => $url); my $response = $ua->request($request); my $content = $response->content();
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: LWP UserAgent visible
by Corion (Patriarch) on Mar 20, 2009 at 11:48 UTC | |
|
Re: LWP UserAgent visible
by Sinistral (Monsignor) on Mar 20, 2009 at 12:29 UTC |