use $response->as_string() method (untested code slice):
$useragent = LWP::UserAgent->new; $request = HTTP::Request->new(GET, $url); $response = $useragent->request($request); $response_text = $response->as_string(); print $response_text;
Check out the docs on HTTP::Response for more info.
----Asim, known to some as Woodrow.
In reply to Re: HTTP::Response(s)
by Asim
in thread HTTP::Response(s)
by Amoe
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |