It could be a version thing (I don't have 5.6 available to test with at the moment.) Does:
work ?my $foo = fileno($tee); open STDERR, ">&$foo";
/J\
In reply to Re^7: Capturing all (and I mean all) output to a file
by gellyfish
in thread Capturing all (and I mean all) output to a file
by flippy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |