perlpreben has asked for the wisdom of the Perl Monks concerning the following question:
my $mech = WWW::Mechanize->new( agent =>$browser_agent); $mech->cookie_jar(HTTP::Cookies->new()); $mech->get($url_login); $mech->form_number($form_nummer); $mech->field('username' => $username); $mech->field('password' => $password); $mech->click(); <--- I think this is where the error gets trown, if t +he "username" textbox is not present
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Can't call method "value" on an undefined value at X??
by JavaFan (Canon) on Aug 16, 2010 at 10:25 UTC | |
|
Re: Can't call method "value" on an undefined value at X??
by moritz (Cardinal) on Aug 16, 2010 at 09:37 UTC | |
by Anonymous Monk on Aug 16, 2010 at 09:44 UTC | |
|
Re: Can't call method "value" on an undefined value at X??
by Anonymous Monk on Aug 16, 2010 at 09:36 UTC | |
|
Re: Can't call method "value" on an undefined value at X??
by ashish.kvarma (Monk) on Aug 16, 2010 at 11:54 UTC | |
by Anonymous Monk on Aug 16, 2010 at 12:29 UTC | |
|
Re: Can't call method "value" on an undefined value at X??
by locked_user sundialsvc4 (Abbot) on Aug 16, 2010 at 15:17 UTC | |
|
Re: Can't call method "value" on an undefined value at X??
by pkumar.pr (Initiate) on Aug 16, 2010 at 12:29 UTC |