Hi, I'm making this program in Perl to fill out a form on a webpage but I'm getting an error. The bit I got trouble with is
$form = HTML::Form->parse($html, $URL);
$form->value(query => "Perl");
I get an error come up saying
Can't call method "value" on an undefined value at C:\program\program.pl line 26.
Anyone got any idea what this means??
Thanks.
$form = HTML::Form->parse($html, $URL);
$form->value(query => "Perl");
I get an error come up saying
Can't call method "value" on an undefined value at C:\program\program.pl line 26.
Anyone got any idea what this means??
Thanks.