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

RE: RE: Re: Grabbing Data

by kilinrax (Deacon)
on Oct 30, 2000 at 20:10 UTC ( [id://39101]=note: print w/replies, xml ) Need Help??


in reply to RE: Re: Grabbing Data
in thread Grabbing Data

That usually means the cgi script it's fetching isn't producing a valid header. Three obvious things to check:
  1. Is the url correct? Try printing $uri and exiting the script, and see what it's trying to fetch.
  2. Try checking your server logs ('/var/log/apache/error.log', for example) - what do they say?
  3. If you literally just c&p'd the code, check the shebang is pointing to where you have Perl installed, and that the modules are all there (see if 'perl -M'LWP::UserAgent' -V' gives an error)

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (7)
As of 2024-04-16 07:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found