Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^3: Suppressing console output

by Lunchy (Sexton)
on Sep 16, 2005 at 20:02 UTC ( [id://492743]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Suppressing console output
in thread Suppressing console output

I knew that $mySTDOUT isnt' the same as *mySTDOUT, but I thought I needed to create something with a 'mySTDOUT' name to keep strict from barking about *mySTDOUT, but it turns it I didn't need to. :)

As far as not using *oldSTDOUT. You'll note I mentioned that he could use *oldSTDOUT to restore STDOUT to normal later on if he wanted to. Perhaps there's another way to do this, but if so I don't know what it is. :)

By the way, I DO like your solution and will try to remember it for the next time I need to do this, however, it does assume one is on an OS that has a /dev/null. :)

Cheers!

-Lunchy

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://492743]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (3)
As of 2024-04-26 06:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found