Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: the try/catch example from "Programming Perl" analyzed

by ambrus (Abbot)
on Aug 23, 2004 at 10:09 UTC ( #385038=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub try (&@) {
         my($try,$catch) = @_;
    ...
    } catch {
        /phooey/ and print "unphooey\n";
    };
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (13)
As of 2014-09-23 14:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (223 votes), past polls