Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: Re: delayed print statement?

by bwana147 (Pilgrim)
on Jul 09, 2001 at 13:59 UTC ( [id://94933]=note: print w/replies, xml ) Need Help??


in reply to Re: delayed print statement?
in thread delayed print statement?

And, as has been pointed out many a time, $| affects the currently selected file handle. The turn off buffering on something else, you have to temporarily select, e.g., like so:

select((select(SOMETHING_ELSE), $| = 1)[0]);

--bwana147

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (4)
As of 2024-04-19 03:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found