in reply to tieing STDIN & STDOUT using IO::Scalar for use inside an eval

upon further examination, the issue hinges on  while(<>), which doesn't work in this context, versus while(<STDIN>), which does.

So, problem solved.

But, as I'm curious, can anyone explain why the magic <> doesn't work here?

Happy Happy Happy water