Do you know where your variables are? | |
PerlMonks |
Re^5: perl5 vs perl6by TimToady (Parson) |
on Jan 10, 2005 at 18:42 UTC ( [id://421036]=note: print w/replies, xml ) | Need Help?? |
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.
In Section
Seekers of Perl Wisdom
|
|