[Chicago-talk] getting past login with www::mechanize

Jay Strauss me at heyjay.com
Mon Nov 10 21:31:53 PST 2008


>
>
> Do you know that the ->get succeeded?


I believe so:

jstrauss at neon:~/bin$ perl 360.pl
1
jstrauss at neon:~/bin$ cat 360.pl
use WWW::Mechanize;
use Data::Dumper;
my $mech = WWW::Mechanize->new();
my $url = 'https://lmx.leads360.com/web/Login.aspx';
$mech->get( $url );
my $rc = $mech->success();
print $rc, "\n";
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.pm.org/pipermail/chicago-talk/attachments/20081110/b848c4b5/attachment.html>


More information about the Chicago-talk mailing list