This truly is a case where reading the documentation would have made this problem's solution very apparent. Just use $WWWAgent->request($WWWRequest) as it will then return a HTTP::Response::Tree object instead of a HTTP::Response object. The tree will contain all the pages you want. Just iterate over them as you need. This is left as an excercise for the reader. Furthermore if you know how many frames deep you need, LWP::UserAgent::FramesReady adds a method called max_depth. As a parameter, it takes the number of frames in depth it should fetch. It defaults to 3.
Hope this helps.
antirice
The first rule of Perl club is - use Perl
The ith rule of Perl club is - follow rule i - 1 for i > 1
In reply to Re: LWP::FramesReady question
by antirice
in thread LWP::FramesReady question
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |