slloyd has asked for the wisdom of the Perl Monks concerning the following question:
open(STDOUT, "> $LogFile"); select(STDOUT); $|=1; print "Something" #Now I want to undo my redirect...and print to the console window.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Undo a STDOUT redirect
by dtr (Scribe) on Oct 19, 2005 at 20:38 UTC | |
|
Re: Undo a STDOUT redirect
by BUU (Prior) on Oct 19, 2005 at 20:36 UTC | |
|
Re: Undo a STDOUT redirect
by chester (Hermit) on Oct 19, 2005 at 20:46 UTC | |
|
Re: Undo a STDOUT redirect
by dimishome (Beadle) on Oct 19, 2005 at 20:52 UTC | |
|
Re: Undo a STDOUT redirect
by Thelonius (Priest) on Oct 20, 2005 at 00:41 UTC |