richz has asked for the wisdom of the Perl Monks concerning the following question:
and I want this to take effect for the entire script including subroutines.unless(-t STDERR) { select STDERR; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: use 'select' to change default output handle for entire script
by ikegami (Patriarch) on Nov 19, 2004 at 16:02 UTC | |
by richz (Beadle) on Nov 23, 2004 at 19:03 UTC | |
|
Re: use 'select' to change default output handle for entire script
by nimdokk (Vicar) on Nov 19, 2004 at 14:32 UTC | |
by richz (Beadle) on Nov 19, 2004 at 14:38 UTC | |
by rev_1318 (Chaplain) on Nov 19, 2004 at 15:51 UTC |