Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options

Re: Clicking nameless buttons with WWW::Mechanize

by tphyahoo (Vicar)
on Mar 15, 2005 at 12:24 UTC ( #439608=note: print w/replies, xml ) Need Help??

in reply to Clicking nameless buttons with WWW::Mechanize

Longshot, but did you install Crypt::SSLeay? I noticed you're trying for an https url, and you can't do post requests with LWP without Crypt::SSLeay (which I think in turn requires Openssl, at least in my case - windows, ActiveState).

This caused me no end of aggravation, because perl didn't give real good feedback that that was the problem, I had to dink around in Data::Dumper. Seems that a lot of people get bitten by this.

So, just in case.

  • Comment on Re: Clicking nameless buttons with WWW::Mechanize

Replies are listed 'Best First'.
Re^2: Clicking nameless buttons with WWW::Mechanize
by bobf (Monsignor) on Mar 15, 2005 at 15:08 UTC

    No, I do not have Crypt::SSLeay installed - that never occurred to me. I am on Windows and I'm using ActiveState, so thanks for the Openssl comment, too.

    I'm starting to think I misinterpreted the error message. Thanks for an excellent suggestion!

    I'll update this node as soon as I try it.

    Update: I just got Openssl installed. I tried using PPM to install Crypt::SSLeay, but when I first installed perl I foolishly installed it in 'Program Files' and the Crypt::SSLeay installation choked on the space.

    Update: Intrepid brought to my attention the reloc_perl utility (included in ActiveState perl), which will relocate a perl installation to a new directory. I moved the installation out of the 'Program Files' directory and installed Crypt::SSLeay. However, I'm still getting an error when I try to submit the form:

    Unexpected field value at +(eval 5) line 1
    I'm baffled.

    Update: I tracked this error down. Please see the thread "Unexpected field value" error with WWW::Mechanize for more information.


      Well, I remember having trouble installing openssl as well, it was kind of confusing since there seems to be more than one distribution for windows. I finally got it working installing from ShiningLight Openssl.

      After installing that, check out

      And follow the tips there to do.....

      ppm install

      Gotta use uwinnipeg, since this isn't included in the standard activestate repositories, for reasons that probably have to do with exporting encryption or something, but I'm not sure.

      I think I tried making it myself with nmake, as well, and no dice. In the end it only worked with the above ppm install.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (6)
As of 2020-05-29 20:03 GMT
Find Nodes?
    Voting Booth?
    If programming languages were movie genres, Perl would be:

    Results (170 votes). Check out past polls.