Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^3: Checking for undef after performing get()

by trammell (Priest)
on Jan 10, 2006 at 15:08 UTC ( #522203=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $doc = get(...);
    warn "get() failed" unless $doc;
    
  2. or download this
    ... unless defined($doc);
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (9)
As of 2014-09-21 19:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (175 votes), past polls