Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Use of "die" in OO modules

by gaal (Parson)
on Jan 18, 2007 at 20:02 UTC ( [id://595329]=note: print w/replies, xml ) Need Help??


in reply to Use of "die" in OO modules

In Perl 6, you as a library author have the option of not taking sides! The fail throws an exception or returns undef (but sets $! with the unthrown exception), at the caller's discretion. See here for a longer writeup.

$HOLY_WARS--

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (4)
As of 2024-04-25 08:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found