in reply to Re: Swiching between output to file and STDOUT
in thread Switching between output to file and STDOUT
This seems like it might be a bug...can anyone point me to somewhere in the docs where this is documented behavior?
Certainly. perldoc open (at least, my local pod) states:
In the 2-arguments (and 1-argument) form opening '-' opens STDIN and opening '>-' opens STDOUT.
It specifically declines to mention 3-arg open.
|
|---|