Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Divert STDOUT temporarily

by bliako (Monsignor)
on Apr 27, 2020 at 22:57 UTC ( [id://11116137]=note: print w/replies, xml ) Need Help??


in reply to Divert STDOUT temporarily

If you want even finer control over who prints, what gets printed and how, this may be of interest: Override printing to STDOUT/ERR. The bottomline is that you can "intercept" all calls to writing to STDOUT, check who the caller is and filter.

bw, bliako

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (3)
As of 2024-05-25 08:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found