Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Re: A delay effect...

by unb0rn (Scribe)
on Dec 30, 2001 at 21:01 UTC ( [id://135258]=note: print w/replies, xml ) Need Help??


in reply to Re: A delay effect...
in thread A delay effect...

To set the autoflush, just set the magic variable $| to 1. I used $|++ to increment it, because it's default value is 0, or autoflush turned off.

Autoflush means that Perl sends the output of print's in time they are called. When it's off, Perl puts the print's output in a temporary buffer, and sends the print's output in blocks to the screen/client/etc.

. Just another not-perfect-but-trying-to-be-legible answer 8-)

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://135258]
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: (2)
As of 2024-04-25 06:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found