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

Hi,

Can I use 'get' to grab the HTML source of an external website? For instance, I was using:

$html = get $url;
where $url is defined in the URL of the script (i.e. script.pl?url=http://www.blah.com), and that was working to grab the HTML on one server, but when I moved the program over to a different server that doesn't seem to work anymore.

Is there another function I can use? Or am I just doing something wrong?

Intaglio