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.
In reply to Re^2: tieing STDIN & STDOUT using IO::Scalar for use inside an eval
by dave_the_m
in thread tieing STDIN & STDOUT using IO::Scalar for use inside an eval
by water
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |