Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much

Re: Getting External HTML

by electronicMacks (Beadle)
on Dec 21, 2000 at 05:57 UTC ( #47691=note: print w/replies, xml ) Need Help??

in reply to Getting External HTML

When you say: $url is defined in the URL of the script (i.e. do you mean that the value of the variable $url is:

Because in that case the URL you are giving may be relative to the server you are working from, which explains why it would work on one server and not the another.
If so, it is simply a matter of giving the full url, starting with http://

If that doesn't fix it, try the more robust LWP::UserAgent. This awesome module is described very well in the awesome book, Web Client Programming With Perl. Which is out of print, but available online at
Major props to Oreilly for open sourcing their out of print books!

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (6)
As of 2021-11-30 16:26 GMT
Find Nodes?
    Voting Booth?

    No recent polls found