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

Re: Re: Re: Perl Idioms Explained - $|++

by BrowserUk (Pope)
on Aug 01, 2003 at 21:45 UTC ( #280165=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download

  1. or download this
    001 use IO::Handle;
    002 STDOUT->autoflush;
  2. or download this
     use IO::Handle;     # thousands of lines just for autoflush :-(
  3. or download this
    sub autoflush (*$) { 
    autoflush( STDOUT, 1 ); # autoflush on
    autoflush( STDOUT, 0 ); # autoflush off

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://280165]
[1nickt]: Ya gotta love the google. If you set accept=".txt" in a form input field where type="file", Chrome will allow you to select local files with extensions like .pl, .pm, .yaml, .ini etc. Nice!

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (6)
As of 2017-07-22 18:24 GMT
Find Nodes?
    Voting Booth?
    I came, I saw, I ...

    Results (340 votes). Check out past polls.