I presume that if you saved a copy of the filehandle you wanted to restore:
that you could use the dup method discussed in the posts you will find to restore it.my $restore = \*original;
In reply to Re: redirecting STDERR, then back again
by princepawn
in thread redirecting STDERR, then back again
by melguin
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |