in reply to Re^2: A maybe(?) interesting comp-sci type problem
in thread A maybe(?) interesting comp-sci type problem

It wouldn't have hurt to note that your function destroys the original data structure.

No, it doesn't. It doesn't operate directly on $_[n], but makes copies. The original is untouched.

--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}