![]() |
|
Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Use select to redirect STDOUT (Was Re: Opening and Closing STDOUT)by hiseldl (Priest) |
on Mar 05, 2003 at 14:23 UTC ( #240583=note: print w/replies, xml ) | Need Help?? |
Instead of closing and opening STDOUT, you could use select as follows:
This way you can leave your filehandles open and switch whenever you need to with little effort. HTH. --
In Section
Seekers of Perl Wisdom
|
|