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.
In reply to Re^2: Swiching between output to file and STDOUT
by edan
in thread Switching between output to file and STDOUT
by loris
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |