in reply to Re: Non-destructive array processing
in thread Non-destructive array processing
Best thing is you don't get "Use of uninitialized value in join or string at ..." if the array size isn't an exact multiple of the chunk size.
I *want* those warnings. If the array length is not an exact multiple of the chunk size, something is wrong, and I would like to be informed. In production code, I'd let it croak if @array % 2 even before looping.
- email@example.com (do not use).