Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^2: Fetching Web Page and covert to text

by Ankit.11nov (Acolyte)
on Jul 16, 2009 at 11:52 UTC ( #780667=note: print w/replies, xml ) Need Help??


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 (Deacon) 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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://780667]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (8)
As of 2023-02-03 17:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I prefer not to run the latest version of Perl because:







    Results (28 votes). Check out past polls.

    Notices?