![]() |
![]()
| ![]() |
![]()
NAMETerm::ProgressBar::IO -- Display a progress bar while reading from a seekable filehandle SYNOPSISmy $pb = Term::ProgressBar::IO->new($fh); while (<$fh>) { # do something $pb->update(); } DESCRIPTIONDisplays a progress bar using Term::ProgressBar which corresponds to reading from a filehandle. This module inherits from Term::ProgressBar and has all of its options. BUGSNone known. METHODSnewCreate and return a new Term::ProgressBar::IO instance.
updateAutomatically update the progress bar based on the position of the filehandle given at construction time.
|