Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re^2: Fetching Web Page and covert to text

by Ankit.11nov (Acolyte)
on Jul 16, 2009 at 11:52 UTC ( [id://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 (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.

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?Last hourOther CB clients
Other Users?
Others studying the Monastery: (2)
As of 2024-04-26 01:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found