Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re: (FoxUni) Re(3): Breaking output lines into N-element chunksby demerphq (Chancellor) |
on Apr 15, 2002 at 09:55 UTC ( [id://159124]=note: print w/replies, xml ) | Need Help?? |
at least loop from 0 to $#vars instead of mucking about with length-1 Actually I used to do this. But I have started getting out of the habit as I understand $#array has been removed from Perl6. Do you really think its that confusing? @array is a one based number, and indexes are zero based. Seems pretty reasonable to me... And I have to say that definately _dont_ agree that its more error prone than a C-Style for loop. :-)
Yves / DeMerphq
In Section
Seekers of Perl Wisdom
|
|