#!/usr/bin/perl # executing this file is the same as wget http://www.cnn.com use LWP::Simple; my $html = get("http://www.cnn.com"); print $html;