in reply to Re: Problem with print
in thread Problem with print

RL has nailed it. Compare,

$ perl -e'sleep 1, print "\r$_" for 1..10; print $/'
to,
$ perl -e'$| = 1; sleep 1, print "\r$_" for 1..10; print $/'

After Compline,
Zaxo

Replies are listed 'Best First'.
Re^3: Problem with print
by digitalpbk (Initiate) on May 10, 2007 at 09:55 UTC
    thnx guys solved it adding this solves it autoflush STDOUT 1;