Perl loops should use break, not last

From: Jeremy Morton (ask_at_me.com)
Date: 01/29/05


Date: Sat, 29 Jan 2005 15:42:53 -0000

Probably been mentioned before but I fail to see why Perl changed the
'break' keyword to 'last', in loops. Bear with me on this - it seems
semantically more accurate to say 'break' - you're immediately breaking out
of the loop. 'last' makes it sound like the current loop will be the last,
but not that the execution should be stopped immediately, whereas break
makes it sound like the latter.

Where can I propose that this be changed, or break aliased to last, for Perl
6?

-- 
Best regards,
Jeremy Morton (Jez) 


Relevant Pages

  • Re: Rocktron Xpression
    ... no i had it ithe loop and then leter after thekain outs of a mesa ... It's a Low-Z device and needs to be in a Low-Z FX loop or ... that would account for the dullness in the sound that you experienced. ... top of that cheap converters these days still sound pretty good. ...
    (rec.music.makers.guitar.jazz)
  • Re: Block mouse and keyboard input
    ... instead of StripQueue() in your example, ... Play sound in the new thread ... Its being called inside of a loop ... that later does some other stuff after calling PlaySound. ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: Birdsong
    ... it is obviously on a loop because there are a couple ... of features - a horn sound at one point and a distinctive squawk. ... a distant shotgun firing at some point. ... it was the sound of another DAB radio being slung in ...
    (alt.radio.digital)
  • Re: Recode to Play MP3?
    ... reading and writing) should be put into the Csxx space of the CFFA, ... this is also the big issue in moving sound data from RAM ... The RAM to sound ROM move loop, with the status poll in but assumed to ...
    (comp.sys.apple2)
  • Re: multichannel sound
    ... One possibility (2 channel sound example): ... create two intersecting loops inside a main loop; ... pulses so you can determine the duration of the each note and to fetch ...
    (comp.sys.sinclair)