in reply to Re: Suppressing console output
in thread Suppressing console output
The faster/easier way to do that is:
Note also that you're creating $mySTDOUT and $oldSTDOUT and not actually using them anywhere. $mySTDOUT is not the same thing as *mySTDOUT!{ local *STDOUT; open STDOUT, '>/dev/null'; # do stuff that may print out. }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Suppressing console output
by Lunchy (Sexton) on Sep 16, 2005 at 20:02 UTC |