$URL = "http://example.com/api.PHP?arguments=values"; echo file_get_contents($URL);
use LWP::Simple; $contents = get $URL or die; print $contents;