k2 has asked for the wisdom of the Perl Monks concerning the following question:
$fs = (-s "@ARGV" ); $rowcount=0; while () { Run whatever loop you want... if ($rowcount % 1000 == 0 ) { print "\r", int((tell INDATA) /$fs*100), "% done = $rowcount r +ows ";} $rowcount++; }
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Printing process of program
by voyager (Friar) on Jul 10, 2001 at 05:33 UTC | |
Re: Printing process of program
by no_slogan (Deacon) on Jul 10, 2001 at 05:33 UTC | |
Re: Printing process of program
by k2 (Scribe) on Jul 10, 2001 at 08:51 UTC |