Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Software error: Couldn't get it! at Noumena1.pl line 42

by Corion (Patriarch)
on Mar 25, 2023 at 09:23 UTC ( [id://11151190]=note: print w/replies, xml ) Need Help??


in reply to Software error: Couldn't get it! at Noumena1.pl line 42

The relevant part of your script is:

my $content = get($url); #41 die "Couldn't get it!" unless defined $content;

Most likely, either the website returned an error (see LWP::Simple).

For better diagnostics, you might want to want to look at LWP::UserAgent.

There is very little we can do here, since the problem is likely between you and the remote site and not with the code.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (3)
As of 2024-04-26 00:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found