in reply to WGET equivalent

LWP::Simple will do this for you.

use LWP::Simple; my $page = get $url; print $page;

edit: no modules!? Pure perl modules can be installed locally. (Installing Modules on a Web Server)

edit 2: Using a module has fewer sanitation issues than sending a string directly to the command line ($url='http://safe.com"; rm -rf .')

Good Day,
    Dean