Keep It Simple, Stupid | |
PerlMonks |
Re: Re: (FoxUni) Re(3): Breaking output lines into N-element chunksby Juerd (Abbot) |
on Apr 15, 2002 at 10:05 UTC ( [id://159127]=note: print w/replies, xml ) | Need Help?? |
But I have started getting out of the habit as I understand $#array has been removed from Perl6. Perl 6 isn't Perl 5.x, it's a new language that happens to be a lot like Perl 5. You will have to re-code things anyway. There will be a Perl 5 to 6 converter, so $#foo will be converted to @foo.end or @foo.last (I forgot which one it was), which is probably better than (@foo.length - 1).
In Section
Seekers of Perl Wisdom
|
|