Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Error Handling Misconception

by gjb (Vicar)
on Sep 03, 2003 at 22:27 UTC ( #288755=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    for (;;) {
      my $value = eval { $object->next_val() };
    ...
      last unless $value;
      # do something useful...
    }
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (6)
As of 2020-06-01 06:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?