[Chicago-talk] getting past login with www::mechanize
me at heyjay.com
Mon Nov 10 21:09:50 PST 2008
I've been reading the docs and examples and faq about www::mechanize, but I
can't get past the login screen of the site I'm trying to access.
my $mech = WWW::Mechanize->new();
my $url = 'https://lmx.leads360.com/web/Login.aspx';
$mech->get( $url );
$mech->credentials( 'jay, 'mypass' );
$mech->set_visible( 'jay', 'mypass' );
print $mech->content( format => 'text' );
Do you see a blatant error? if so will you point me at it?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Chicago-talk