in reply to Re: Interesting (split) oddity with 5.6.1, fixed in 5.8.0
in thread Interesting (split) oddity with 5.6.1, fixed in 5.8.0

Sort of. It's a slice on temporary lists oddity, I think. That's what I was trying to indicate with (split). It also applies to (//g), for instance.

Oddly, it doesn't affect "real" slices like @a[1,2,1] or (localtime)[1,2,1], or even slicing map or grep results.

I've searched through my local p5p archive, and haven't managed to find who first spotted or fixed this. They deserve major congratulations for sorting out something this odd...
--
Mike

  • Comment on Re: Re: Interesting (split) oddity with 5.6.1, fixed in 5.8.0