in reply to WWW::Mechanize click_button() not working in AIX

You have unterminated statements in your code. Change

my $outpath = "/home/data/output" my $fromday = 7

to

my $outpath = "/home/data/output"; my $fromday = 7;

Consider adding use warnings; near the start of your script.

-- Ken

Replies are listed 'Best First'.
Re^2: WWW::Mechanize click_button() not working in AIX
by perl_monster (Novice) on Jul 10, 2012 at 17:08 UTC

    The un-terminated lines of code was a typo here, sorry. The Version of Perl in Win machine is 5.10.1 and the AIX version of Perl is 5.8.8. But if version of perl were the problem then the whole perl Module i.e. WWW::Mechanize should have given errors. I do not see any specific version pre-requisites of perl in the WWW::Mechanize documentation.