There's more than one way to do things | |
PerlMonks |
Re: LWP::UserAgent::FramesReady;by holo (Monk) |
on Dec 09, 2003 at 18:24 UTC ( [id://313471]=note: print w/replies, xml ) | Need Help?? |
First of all, you should use LWP::UserAgent::FramesReady not LWP::UserAgent to construct the $ua. my $ua = new LWP::UserAgent::FramesReady;The result is not an HTTP::Response instance, rather a more appropriate HTTP::Response::Tree object since more than one page is fetched (The main page, the frames, sub-frames, etc...). It's pretty straight forward to get all the responses out with @responses = $response_tree->children();.
In Section
Seekers of Perl Wisdom
|
|