Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

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

by tye (Sage)
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 pool shimmers...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (10)
As of 2017-03-28 16:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (336 votes). Check out past polls.