Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: WWW::Mechanize submission problem

by no21 (Sexton)
on Feb 06, 2006 at 04:35 UTC ( [id://528150]=note: print w/replies, xml ) Need Help??


in reply to WWW::Mechanize submission problem

Well, I know what I did to fix my problem, but yet I *don't* know what I did to fix my problem.

Just today I remembered the first time I tried to log on to Yahoo and retrieve HTML files. I remembered trying to install WWW::Mechanize - I think - and getting an error message at some point telling me that I needed Crypt::SSLeay.

So today I got on to CPAN and installed Crypt::SSLeay and re-ran my script, and it works now.

So I now have one more question, and one more comment.

My comment is that I still don't know why $mech->field() had to be replaced with $mech->set_visible() when running on the Linux box.

My question is, will someone explain to me why I needed Crypt::SSleay in order to get my script to work?

Thanks to everyone for their comments and assistance.

Replies are listed 'Best First'.
Re^2: WWW::Mechanize submission problem
by helphand (Pilgrim) on Feb 06, 2006 at 05:37 UTC
    My question is, will someone explain to me why I needed Crypt::SSleay in order to get my script to work?

    Easy, go to the url in your script;

    http://login.yahoo.com/config/login?.done=http://fantas +ysports.yahoo.com&.src=spt&.intl=us

    Note the tiny note under the login box, new submits over ssl. That means you need ssl encryption for the submit, which Crypt::SSleay provides.

    Scott

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://528150]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (3)
As of 2024-04-26 05:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found