Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

Perl Idioms Explained - $|++

by broquaint (Abbot)
on Aug 01, 2003 at 16:05 UTC( #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?

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (3)
As of 2016-08-30 02:02 GMT
Find Nodes?
    Voting Booth?
    The best thing I ever won in a lottery was:

    Results (410 votes). Check out past polls.