troll314 has asked for the wisdom of the Perl Monks concerning the following question:

Hi Monks,

print "process.... "; ....do something; print "ok. done\n";
it prints it all at once. ie buffered. how can I make stagger it?

Replies are listed 'Best First'.
Re: dont want to prints whole line at one time
by Zaxo (Archbishop) on Aug 27, 2001 at 01:34 UTC

    Set autoflush with $| = 1;

    After Compline,
    Zaxo

      brilliant, thanks. works good.