|
Posted by Peter Makholm on April 28, 2008, 7:43 am
Please log in for more thread options
> i don't understand my code is corrupted at form "value" instance??
> error prompt : Can't call method "value" on an undefined value at
> ligne 27 (here : $form->find_input('txtusername')-
>>value($user);) ??
> $form->find_input('txtusername')->value($user);
I assume this is line 27?
What you have is that the find_input method on you HTML::Form object
returns undef. According to the documentation this means that there is
no input in the form matching you criteria.
//Makholm
|