Term::ProgressBar::IO -- Display a progress bar while reading from a seekable filehandle |
Term::ProgressBar::IO -- Display a progress bar while reading from a seekable filehandle
my $pb = Term::ProgressBar::IO->new($fh);
while (<$fh>) { # do something $pb->update(); }
Displays a progress bar using the Term::ProgressBar manpage which corresponds to reading from a filehandle.
This module inherits from the Term::ProgressBar manpage and has all of its options.
None known.
Create and return a new Term::ProgressBar::IO instance.
Automatically update the progress bar based on the position of the filehandle given at construction time.
Term::ProgressBar::IO -- Display a progress bar while reading from a seekable filehandle |