C:\new\WWW-Mechanize-Shell-0.29>perl -MWWW::Mechanize::Shell -e shell Module File::Modified not found. Automatic reloading disabled. >get http://perl.com/ Retrieving http://perl.com/(200) http://perl.com/>open /Chromosome/ 83: A Chromosome at a Time with Perl, Part 2 99: A Chromosome at a Time with Perl, Part 1 http://perl.com/>open 83 (200) http://www.perl.com/pub/a/2003/10/15/bioinformatics.html>content bioinformatics2.html http://www.perl.com/pub/a/2003/10/15/bioinformatics.html>back http://perl.com/>open 99 (200) http://www.perl.com/pub/a/2003/09/10/bioinformatics.html>content bioinformatics1.html http://www.perl.com/pub/a/2003/09/10/bioinformatics.html>script bionformatics.pl http://www.perl.com/pub/a/2003/09/10/bioinformatics.html>q C:\new\WWW-Mechanize-Shell-0.29>dir bio* Directory of C:\new\WWW-Mechanize-Shell-0.29 10/26/2003 11:05p 38,616 bioinformatics.html 10/26/2003 11:08p 38,617 bioinformatics1.html 10/26/2003 11:08p 30,658 bioinformatics2.html 10/26/2003 11:09p 721 bionformatics.pl C:\new\WWW-Mechanize-Shell-0.29>cat bionformatics.pl #!C:\Perl\bin\perl.exe -w use strict; use WWW::Mechanize; use WWW::Mechanize::FormFiller; use URI::URL; my $agent = WWW::Mechanize->new(); my $formfiller = WWW::Mechanize::FormFiller->new(); $agent->env_proxy(); $agent->get('http://perl.com/'); $agent->form(1) if $agent->forms and scalar @{$agent->forms}; $agent->follow('83'); { my $filename = q{bioinformatics2.html}; local *F; open F, "> $filename" or die "$filename: $!"; binmode F; print F $agent->content,"\n"; close F }; $agent->back(); $agent->follow('99'); { my $filename = q{bioinformatics1.html}; local *F; open F, "> $filename" or die "$filename: $!"; binmode F; print F $agent->content,"\n"; close F }; C:\new\WWW-Mechanize-Shell-0.29>