Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
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 drinking their drinks and smoking their pipes about the Monastery: (9)
As of 2015-07-03 13:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (53 votes), past polls