in reply to Mechanize login, but redirect. [SOLVED]

Its been awhile since I did any LWP work. However my first thought is that you are doing a login after which I assume you get to an HTTPS site. In that case, you need to have the Crypt::SSLeay Module installed to use the https protocol. I hope I'm not sending you on a wild goose chase, but I remember fighting with this a bit to get https working.

Replies are listed 'Best First'.
Re^2: Mechanize login, but redirect.
by scarfguy (Novice) on May 16, 2016 at 09:54 UTC

    Thank you for sharing some Input. I have installed the Crypt::SSLeay Module and activated(?) it with use Net::SSL;, but now it can't even fetch the first url, which was, by the way, already an https site.

    Error as follows: Can't connect to www.url.com:443 (Crypt-SSLeay can't verify hostnames) at messing_around.plx line 12. Line 12 is $derp -> get($url);

    Was it already using some other https module by default?