in reply to Re^2: Fetching Web Page and covert to text
in thread Fetching Web Page and covert to text

It seems your problem is one of connectivity rather than your Perl, though for your own sanity use the following in your script also
use strict; use warnings;
Tested your script locally here and I get nicely formatted page out to the file.