Subject: | Dies in Windows-XP |
the code is :
#!/usr/bin/perl
use WWW::Mechanize;
my $mech = WWW::Mechanize->new();
$mech->get( $url );
# $mech->follow_link( n => 3 );
# $mech->follow_link( text_regex => qr/download this/i );
# $mech->follow_link( url => 'http://www.google.com' );
#$mech->submit_form(
# form_number => 3,
# fields => {
# username => 'yourname',
# password => 'dummy',
# }
#);
$mech->submit_form(
form_name => 'search',
fields => { query => 'pot of gold', },
button => 'Google Search'
);
the error is (when i try to run it) :
Can't locate auto/HTML/TokeParser/get_phrase.al in @INC (@INC contains: C:/Perl/lib C:/Perl/site/lib .) at C:/Perl/lib/HTML/Form.pm line 128