> > I still don't like the idea of C<elsif>s on loops. I already do an
> > instant double take with C<else> of "Where's the if?" (with visions of
> > old Wendy's commercials dancing in my head). 
> 
> Me too.  That's why the looping "else" should be spelled "otherwise"
> IMHO.

If a loop produced a boolean value depending on if it iterated over some
values, then you could say:

for (@data) {
  # do stuff
} or die "Didn't do anything\n";

Then again, maybe that'd be too confusing for both a human the the parser.
I recommend you consider for a moment, then /dev/null the idea.

Jonathan Paton

__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com

Reply via email to