NAME
Text::ProgressBar::ETA
VERSION
version 0.1
SYNOPSIS
use Text::ProgressBar::ETA;
my $bar = Text::ProgressBar->new(widgets => [Text::ProgressBar::ETA->new()]);
$bar->start();
for my $i (1..100) {
sleep 0.2;
$bar->update($i+1);
}
$bar->finish;
DESCRIPTION
Widget which attempts to estimate the time of arrival. It inhertes attribute of 'Timer'.
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.