You weren't reading from the filehandle you passed in. Not sure why you got an undef back from reading the handle directly though. <thumbsuck>Might be TK opening the filehandle directly, so you no longer have direct access ... </thumbsuck>sub tackle_err{ my $file_handle = shift; $_ = <$file_handle>;
In reply to Re: redirecting STDERR
by ozone
in thread redirecting STDERR
by NaSe77
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |