#!/usr/bin/perl use LWP::UserAgent; use HTTP::Request::Common; use Crypt::SSLeay; $outfile = "output.txt"; open(OUTFILE, ">$outfile") || die("Cannot open OUTPUT file - $!"); my $myurl "https://sharecenter.com/Pages/Software.aspx"; my $ua = new LWP::UserAgent; $ua->cookie_jar( {} ); $ua->protocols_allowed( [ 'http','https'] ); $ua->proxy(['http', 'https']); my $page = $ua->get($myurl); if ($page->is_success) { print OUTFILE $page->content; } close (OUTFILE);