Although you could rewrite the HTML so that the input field was inside the form tags...
# untested; salt to taste my $html = $mech->content; $html =~ s/(<input[^>]+>)(.*?<form[^>]*>)/$2$1/; $mech->update_html($html);
--k.
In reply to Re^2: WWW::Mechanize and text input outside form
by Kanji
in thread WWW::Mechanize and text input outside form
by fauria
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |