Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Progress bar with (i)threads

by MaxKlokan (Monk)
on Dec 08, 2006 at 12:56 UTC ( #588578=note: print w/replies, xml ) Need Help??


in reply to Progress bar with (i)threads

Have you tried disabling buffering with autoflush?
Just add:
$|=1;
at the top of your script.

Replies are listed 'Best First'.
Re^2: Progress bar with (i)threads
by PockMonk (Beadle) on Dec 08, 2006 at 13:59 UTC
    That did the trick. I hadn't come across autoflush before (I guess because I'd never done this sort of thing before with perl). Progress bar is now working.

    Thank you Perl Monks, you clever people you :-)

    Dan

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://588578]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (7)
As of 2020-10-27 15:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My favourite web site is:












    Results (257 votes). Check out past polls.

    Notices?