Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Perl Idioms Explained - $|++

by broquaint (Abbot)
on Aug 01, 2003 at 16:05 UTC ( [id://280025]=perlmeditation: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
    use Some::Module 'process_stuff';
    
    print '.' while process_stuff();
    
  2. or download this
    print "printing dots with buffering\n";
    select undef, undef, undef, 0.25 or print '.'
    ...
    select undef, undef, undef, 0.25 or print '.'
      for 1 .. 10;
    print "\nflush forced\n";
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlmeditation [id://280025]
Approved by adrianh
Front-paged by LAI
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (4)
As of 2024-03-29 01:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found