Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^3: Best Practices for Exception Handling (no isa)

by tye (Cardinal)
on Jan 29, 2003 at 17:03 UTC ( #231014=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
        open( FILE, "<read.me" )
            or  die "Can't read read.me: $!\n";
    
  2. or download this
        if(  ! open( FILE, "<read.me" )  ) {
            # Deal with the absense of this file
        }
    
  3. or download this
        open( FILE, "<read.me" );
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://231014]
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: (4)
As of 2014-12-19 07:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (73 votes), past polls