http://www.perlmonks.org?node_id=616675

lazybowel has asked for the wisdom of the Perl Monks concerning the following question:

Hi all, im trying to write a script that will login into http://del.icio.us and show what is there. However whenever i try to login through the https://secure.del.icio.us/login it does not work. This is what i have so far
#!/usr/bin/perl -w use strict; use WWW::Mechanize; my $mech = WWW::Mechanize->new( autocheck => 1 ); $mech->agent_alias('Linux Mozilla'); $mech->get("https://secure.del.icio.us/login"); $mech->submit_form( fields => { user_name => 'username', password => 'password', } ); print $mech->content(format=>'text');

I tried this same script on the yahoo mail and it worked they also use the https