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

Re^3: Try::Tiny - return in catch from sub

by mjscott2702 (Pilgrim)
on Nov 26, 2010 at 15:34 UTC ( #873884=note: print w/ replies, xml ) Need Help??


in reply to Re^2: Try::Tiny - return in catch from sub
in thread Try::Tiny - return in catch from sub

um, not in the CPAN documentation:

This module provides bare bones try/catch/finally statements that are designed to minimize common mistakes with eval blocks, and NOTHING else. This is unlike TryCatch which provides a nice syntax and avoids adding another call stack layer, and supports calling return from the try block to return from the parent subroutine.


Comment on Re^3: Try::Tiny - return in catch from sub
Replies are listed 'Best First'.
Re^4: Try::Tiny - return in catch from sub
by Anonymous Monk on Nov 27, 2010 at 10:35 UTC
    That says Try::Tiny does not support returning from try/catch/finally blocks like TryCatch, its how they're different

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (14)
As of 2015-07-29 16:17 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 (265 votes), past polls