Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: use of last

by karlgoethebier (Abbot)
on Jul 20, 2015 at 08:22 UTC ( [id://1135414] : note . print w/replies, xml ) Need Help??


in reply to use of last

You can put it in a block...

KARL: { if ($x) { $y or last; print "Continue with the if clause\n"; } }

...if you really need it.

Regards, Karl

«The Crux of the Biscuit is the Apostrophe»