in reply to Re: Non-destructive array processing
in thread Non-destructive array processing

I prefer Perl 6.

So do I, so do I...

Wouldn't for @array -> @chunk[0, 1], &foo work? With @chunk predeclared, of course. (Not that I ever need the chunk as an array. I use it only to store whatever splice returns. I love the Perl 6 syntax.)

Juerd
- http://juerd.nl/
- spamcollector_perlmonks@juerd.nl (do not use).