#!/usr/bin/perl use strict; use LWP::UserAgent; { ##The Perl Module that does the work my $ua = new LWP::UserAgent(); ##The URL my $url = "https://www.guy.com/"; ##Creating the request my $req = new HTTP::Request ('GET',$url); ##Getting the HTML page my $res = $ua->request($req); ##Printing the HTML page print $res->content."\n"; }