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
---
Writing a good benchmark isnt as easy as it might look.
In reply to Re: (FoxUni) Re(3): Breaking output lines into N-element chunks
by demerphq
in thread Breaking output lines into N-element chunks
by FoxtrotUniform
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |