Time::ProgressTime::Progress Perl module contains elapsed and estimated finish time reporting. | |
Download |
Time::Progress Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- Vladi Belperchinov-Shabanski
- Publisher web site:
- http://search.cpan.org/~cade/Time-Progress-1.2/Progress.pm
Time::Progress Tags
Time::Progress Description
Time::Progress Perl module contains elapsed and estimated finish time reporting. Time::Progress Perl module contains elapsed and estimated finish time reporting.SYNOPSIS # autoflush to get r working $| = 1; # get new `timer' my $p = new Time::Progress; # restart and report progress $p->restart; sleep 5; # or do some work here print $p->report( "done %p elapsed: %L (%l sec), ETA %E (%e sec)n", 50 ); # set min and max values $p->attr( min => -2, max => -20 ); # restart `timer' $p->restart; my $c; for( $c = -2; $c >= -20; $c-- ) { # print progress bar and percentage done print $p->report( "eta: %E min, @b %pr", $c ); sleep 1; # work... } # stop timer $p->stop; # report times print $p->elapsed_str; Requirements: · Perl
Time::Progress Related Software