in reply to Re^2: foreach funny business
in thread foreach funny business

I'm with you, you're right, I'm not. And then, again you're right - 5.8.8 doesn't die, I copied from the wrong shell, and shift() should just pass $_[0], not a copy, unless somebody made shift ro-aware. Have to look after this...

Mhm. Scanning perldelta... nothing. Then, it's a bug. Or it's just undefined behaviour?

But hey, it's a clever one. It's like, say, putting your hand in the band-saw, and get a finger cut, but then you draw out your hand and it's ok because it's read-only. One finger extra ;-)

--shmem

_($_=" "x(1<<5)."?\n".q·/)Oo.  G°\        /
                              /\_¯/(q    /
----------------------------  \__(m.====·.(_("always off the crowd"))."·
");sub _{s./.($e="'Itrs `mnsgdq Gdbj O`qkdq")=~y/"-y/#-z/;$e.e && print}