no21 has asked for the wisdom of the Perl Monks concerning the following question:
I have a working Activeperl script on my Windows box that logs in to Yahoo and downloads some HTML files.
I transferred that script to a Linux box today, and now the script does not work. Specifically, the form is not being submitted.
Activeperl script runs on:
WinXP
Perl 5.8.4
WWW-Mechanize version 0.72
Same script on Linux:
Ubuntu 5.10
Perl 5.8.7
WWW-Mechanize version 1.18
I have tried many different methods per the documentation on CPAN (click(), submit(), click_button()), and none of the methods log me in successfully.
I have Dumped the form and verified that the user and password fields are being set correctly.
The various submission methods that I tried do not die(), so I can not see why it will not work on the Linux box.
Has anyone ever run into this sort of thing before? Any help would be greatly appreciated.
I transferred that script to a Linux box today, and now the script does not work. Specifically, the form is not being submitted.
Activeperl script runs on:
WinXP
Perl 5.8.4
WWW-Mechanize version 0.72
Same script on Linux:
Ubuntu 5.10
Perl 5.8.7
WWW-Mechanize version 1.18
I have tried many different methods per the documentation on CPAN (click(), submit(), click_button()), and none of the methods log me in successfully.
I have Dumped the form and verified that the user and password fields are being set correctly.
The various submission methods that I tried do not die(), so I can not see why it will not work on the Linux box.
Has anyone ever run into this sort of thing before? Any help would be greatly appreciated.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: WWW::Mechanize submission problem
by davidrw (Prior) on Feb 05, 2006 at 15:06 UTC | |
Re: WWW::Mechanize submission problem
by adrianh (Chancellor) on Feb 05, 2006 at 11:50 UTC | |
by no21 (Sexton) on Feb 05, 2006 at 13:22 UTC | |
Re: WWW::Mechanize submission problem
by johnnywang (Priest) on Feb 05, 2006 at 20:03 UTC | |
by john_oshea (Priest) on Feb 05, 2006 at 21:42 UTC | |
by johnnywang (Priest) on Feb 06, 2006 at 08:40 UTC | |
Re: WWW::Mechanize submission problem
by JamesNC (Chaplain) on Feb 05, 2006 at 19:20 UTC | |
Re: WWW::Mechanize submission problem
by planetscape (Chancellor) on Feb 06, 2006 at 02:01 UTC | |
Re: WWW::Mechanize submission problem
by no21 (Sexton) on Feb 06, 2006 at 04:35 UTC | |
by helphand (Pilgrim) on Feb 06, 2006 at 05:37 UTC | |
Re: WWW::Mechanize submission problem
by monarch (Priest) on Feb 06, 2006 at 03:55 UTC |
Back to
Seekers of Perl Wisdom