My perception of "leave" is that you stop executing the commands in eval{}
You can do that, but as a side effect you also get to leave any surrounding block.
In fact, you can "leave" eval{} using die, too.
But that doesn't make you leave the surrounding "script" :) So it's saner to leave eval with a die rather than a last.
--In reply to Re^8: Ways to control a map() operation
by Leviathan
in thread Ways to control a map() operation
by Booger
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |