http://qs321.pair.com?node_id=390322


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

But, as I'm curious, can anyone explain why the magic <> doesn't work here?
Because <> is a synonym for <ARGV>, and ARGV is a magic filehandle that sometimes reads from STDIN, but sometimes reads from files etc.

Dave.