in reply to
Progress bar with (i)threads
Have you tried disabling buffering with
autoflush
?
Just add:
$|=1;
[download]
at the top of your script.
Comment on
Re: Progress bar with (i)threads
Download
Code
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
[reply]
In Section
Seekers of Perl Wisdom