Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

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

by trammell (Priest)
on Jan 10, 2006 at 15:08 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://522203]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (None)
    As of 2024-04-25 04:02 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      No recent polls found