Doesn't display anything for the longuest time because STDOUT is not being flushed. Setting STDOUT to outflush or adding a call to flush (defined below) after the print does the trick.
sub flush { my $h = select($_[0]); my $a=$|; $|=1; $|=$a; select($h); }
In reply to Re: wget style progress bar
by ikegami
in thread wget style progress bar
by tachyon
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |