Text::ProgressBar::SimpleProgress - displays count of the total done jobs
version 0.2
use Text::ProgressBar::SimpleProgress; my $psimplebar = Text::ProgressBar->new(maxval => 17, widgets => [Text::ProgressBar::SimpleProgress->new()]); $psimplebar->start(); for my $i (1..17) { sleep 0.2; $psimplebar->update($i+1); } $psimplebar->finish;
Returns progress as a count of the total (e.g.: "5 of 47")
defines the seperation string
handler for redrawing current regions within the area. (Inherited from Widget.)
Farhad Fouladi, <farhad at cpan.org>
<farhad at cpan.org>
Copyright 2012 Farhad Fouladi.
This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.
To install Text::ProgressBar, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Text::ProgressBar
CPAN shell
perl -MCPAN -e shell install Text::ProgressBar
For more information on module installation, please visit the detailed CPAN module installation guide.