in reply to "SSL negotiation failed" using WWW::Mechanize and Crypt::SSLeay on WinXP
Hmm .. the code I used for that is ..
Is there any way you can get more information on what failed? Can you run anything from the command line that works?my $uri = URI->new("$webSite/LOGIN"); $uri->query_form( 'credential_0' => $user, 'credential_1' => $password, 'destination' => $webPage ); $res = $ua->get($uri); print "Status: " . $res->status_line . "\n"; die "Unable to log in: " . $res->status_line unless ( $res->status_line =~ /200 OK/ );
Alex / talexb / Toronto
"Groklaw is the open-source mentality applied to legal research" ~ Linus Torvalds
|
|---|