NAME

Text::ProgressBar::SimpleProgress - displays count of the total done jobs

VERSION

version 0.2

SYNOPSIS

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;

DESCRIPTION

Returns progress as a count of the total (e.g.: "5 of 47")

ATTRIBUTES

sep

defines the seperation string

METHODS

update

handler for redrawing current regions within the area. (Inherited from Widget.)

AUTHOR

Farhad Fouladi, <farhad at cpan.org>

LICENSE AND COPYRIGHT

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.