Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^5: perl5 vs perl6

by TimToady (Parson)
on Jan 10, 2005 at 18:42 UTC ( [id://421036]=note: print w/replies, xml ) Need Help??


in reply to Re^4: perl5 vs perl6
in thread perl5 vs perl6

Sigh. A let may certainly be used in ordinary blocks. See http://dev.perl.org/perl6/synopsis/S04.html for the definition of successful exit. The KEEP and UNDO blocks use the same definition, and are arguably part of the same underlying mechanism. You can view a let as a temp that merely does UNDO instead of LEAVE.

Replies are listed 'Best First'.
Re^6: perl5 vs perl6
by blazar (Canon) on Jan 11, 2005 at 09:56 UTC
    Sigh. A let may certainly be used in ordinary blocks. See
    Sigh. So it is indeed just like I remembered in the first place, which is good news anyway, as I consider this to be a very desirable feature...

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (5)
As of 2024-04-19 11:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found