There is no module named Mech::Perl. If you are talking about WWW::Mechanize as your unshown code seems to imply, please read WWW::Mechanize to find what attributes the parameters for ->follow_link act on. You will find that none act on the onClick attribute and none of them act on <input... elements. Please also review the documentation of ->tick to find out what its arguments are and how they work. Especially, passing the result of a regular expression match makes little sense, and there is no hint in the documentation that passing a regular expression like qr/\s/ would be supported.
It would help us to help you better if you provided a short, 10-20 line, self-contained working example that reproduces the error. For example something like the following:
#!perl -w use strict; use WWW::Mechanize; my HTML = <<HTML; <html> <body> <form> <input ... </form> </body> </html> HTML my $mech = WWW::Mechanize->new(); $mech->update_html($html); $mech->tick(...);
In reply to Re: Mech::Perl and following links w/ null value
by Corion
in thread Mech::Perl and following links w/ null value
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |