All,

This turned out to be my own mistake.  The login is an e-mail address and 
I neglected to put a \ before the @..   Thanks for the ideas, and sorry 
for wasting anyone's time.

Nick

----- Forwarded by Nicholas S Zambo/JonesDay on 06/01/2004 01:18 PM -----


Andy Lester <[EMAIL PROTECTED]>

06/01/2004 12:45 PM
 
        To:     Nicholas S Zambo <[EMAIL PROTECTED]>
        cc:     [EMAIL PROTECTED]
        Subject:        [BULK] - Re: problem using mechanize to log into a 
site


On Tue, Jun 01, 2004 at 12:16:53PM -0400, Nicholas S Zambo 
([EMAIL PROTECTED]) wrote:
> my $mech = WWW::Mechanize->new();
> $mech -> agent_alias( 'Windows IE 6' );  #i've tried several agents 
here.
> $mech -> get("http://www.terrorexchange.com/";);

No error checking here.

> $mech -> follow_link( text => 'Login' );
> $mech -> field("txtEmail" => "my_emailaddress");
> $mech -> field("txtPassword" => "my password");
> $mech -> submit();

No error checking here.

> Can anyone take a look and see if I'm just missing something stupid? (Or 

> just being stupid)

What errors do you get?

-- 
Andy Lester => [EMAIL PROTECTED] => www.petdance.com => AIM:petdance


==========
The preceding e-mail message (including any attachments) contains 
information that may be confidential, be protected by the attorney-client 
or other applicable privileges, or constitute non-public information.  It 
is intended to be conveyed only to the designated recipient(s).  If you 
are not an intended recipient of this message, please notify the sender by 
replying to this message and then delete it from your system.  Use, 
dissemination, distribution, or reproduction of this message by unintended 
recipients is not authorized and may be unlawful.
==========

Reply via email to