That worked. Thanks.
I am still having problems logging in though. I borrowed some of this code from this list. I uncommented use debug, but can't figure out how to get the output of debug. I have read the perldoc but don't see how to get the output. Maybe the output is sent to a file? I appreciate any help I get. Dave -----Original Message----- From: Francesc X. Noria [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 17, 2002 1:51 AM To: David Gerler Cc: [EMAIL PROTECTED] Subject: Re: Click on undefined value? On Tue, 16 Jul 2002 23:40:20 -0400 "David Gerler" <[EMAIL PROTECTED]> wrote: : I am getting the following error from Perl builder: : Can't call method "click" on an undefined value at next_attempt.pl line 52. : : : BEGIN CODE________________________________________________________ : #!/usr/local/bin/perl : : use strict; Hmmm... is this code really compiling under use strict? : $form[3]->value( 'LOGIN', "$login" ); : $form[3]->value( 'PASSWORD', "$pass" ); : : my $response = $ua->request( $form->click(Go) ); ^^^^^ Should it be $form[3]? -- fxn
