http://qs321.pair.com?node_id=780667


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

Its giving the below error?
Couldn't fecth page at open_url.pl line 6. Opening the URL
  • Comment on Re^2: Fetching Web Page and covert to text

Replies are listed 'Best First'.
Re^3: Fetching Web Page and covert to text
by Utilitarian (Vicar) on Jul 16, 2009 at 12:39 UTC
    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.
Re^3: Fetching Web Page and covert to text
by Crian (Curate) on Jul 16, 2009 at 12:17 UTC

    Perhaps the get-method is not the one you want to use?

    I don't know the three modules you are using, but more than one of them could have a get method.