in reply to HTTP::Response(s)
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.
|
|---|