WWW::Mechanize::Frames - Perl extension for WWW:Mechanize allowing automatic frames download.
use WWW::Mechanize::Frames;
$url = 'http://www.site_with_frames.com'; $mech = WWW::Mechanize::Frames->new();
$mech->get($url);
@frames = $mech->get_frames();
print $frames[0]->content; print $frames[1]->content;
This is a quick and dirty expansion of WWW::Mechanize adding a function to retrieve frames and returns an array of mech objects each one storing the info about each frame.
None by default.
WWW::Mechanize Clone::PP LWP::UserAgent
Nick Stoianov, <cpanperl@yahoo.com>
Thanks to: Andy Lester for WWW:Mechanize(it is a great tool), Matthew Simon Cavalletto for Clone::PP, and everybody from the Perl community.
Copyright (C) 2005 by Nick Stoianov
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.6 or, at your option, any later version of Perl 5 you may have available.
To install WWW::Mechanize::Frames, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WWW::Mechanize::Frames
CPAN shell
perl -MCPAN -e shell install WWW::Mechanize::Frames
For more information on module installation, please visit the detailed CPAN module installation guide.