Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: Breaking out of a while loop: Is there a better way?

by smokemachine (Hermit)
on Nov 02, 2006 at 01:45 UTC ( [id://581808] : note . print w/replies, xml ) Need Help??


in reply to Breaking out of a while loop: Is there a better way?

why dont you use a last?

Replies are listed 'Best First'.
Re^2: Breaking out of a while loop: Is there a better way?
by BubbaMonk (Sexton) on Nov 02, 2006 at 03:11 UTC
    Because I didn't know it was there! That other language used break so I was looking for break. Maybe someone should make something like the unix apropos for Perl 6. That would give them, what, about five years to do it before the release? :~)