my $err = <STDERR>;Eh?
STDERR is usually defined for writing only. Reading from it will either throw an error or do nothing. (Unless you've played games with the handles, of course.)
Or am I completely misunderstanding your intent?
In reply to Re^2: redirecting output to STDERR and STDOUT
by VSarkiss
in thread redirecting output to STDERR and STDOUT
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |