I read that in order to use WWW::Mechanize with a secure HTTPS you need to have SSLeay. I went to the docs for SSLeay and it really doesn't show you how to merge the two scripts together.
The entire script is
#!/usr/bin/perl
use strict;
use warnings;
use SSleay;
use CGI::Carp qw(fatalsToBrowser);
use CGI qw/:standard/;
use WWW::Mechanize;
my $name= "##";
my $pass= "##";
my $browser=WWW::Mechanize->new();
$browser->get("https://secured.goldleaf.com/commandcenterplus/");
$browser->form(1);
$browser->field("username", $name);
$browser->field("password", $pass);
$browser->click();
print "Location: https://secured.goldleaf.com/commandcenterplus/main.a
+sp\n\n";
Can someone help me figure out how to use SSLeay to get this to work?