Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: A Strange print() predicament.

by steves (Curate)
on Feb 19, 2003 at 21:47 UTC ( #236836=note: print w/ replies, xml ) Need Help??


in reply to A Strange print() predicament.

Or (same idea different way):

use strict; use IO::Null; print "Printing\n"; { local *STDOUT = IO::Null->new(); print "Not printing\n"; } print "Printing again\n";


Comment on Re: A Strange print() predicament.
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (10)
As of 2015-07-07 23:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (93 votes), past polls