in reply to https login using WWW::Mechanize

You're trying to login to a https site, so you have to tell LWP that:
#!perl use strict; use warnings; use LWP::UserAgent; use WWW::Mechanize; my $ua = LWP::UserAgent->new; $ua->protocols_allowed(['https']);

Replies are listed 'Best First'.
Re^2: https login using WWW::Mechanize
by baghu (Initiate) on Aug 09, 2010 at 09:35 UTC
    I think WWW::Mechanize already understands that from the URL provided. I was able to login to a https website (https://mail.yahoo.com) already with the code posted there. Please read the detailed description of the issues I'm facing and the measures I've taken to debug the issues in my posting. Thanks.
      I think WWW::Mechanize already understands that from the URL provided.

      What makes you think that? What have you done to test that hypothesis?

      Perl 6 - links to (nearly) everything that is Perl 6.
        I was able to login to 'https//mail.yahoo.com' using the same code(which is secured). I dint have to mention anything about the protocols_allowed.
        calling protocols_allowed is completely unnecessary , by default all protocols are allowed and none are forbidden