Results 1 to 1 of 1
05-15-2007, 03:01 AM #1
Help with PHP code conversion to PERL
Can anyone help me with converting the following PHP code to PERL?
//Specify your URL
$URL = "http://www.exampleurl.com";
//Open a stream in READ mode
$handle = fopen ($URL, "r");
//Read the replied content and manipulate it
$key = str_replace(' ', '%20',fread($handle, 1000000));
I would like to know how to open a stream to an URL and read its content.
Thanks in advance,