Term::P...sBar::IO(3)
hii bestie!! π welcome to the Term::P...sBar::IO(3) page β yes, that's the manual name, and it's a User Contributed Perl Documentation moment. we're gonna make it make sense, no cap. β¨
πΈ NAME πΈ
Term::ProgressBar::IO β display a progress bar while reading from a seekable filehandle. it's giving "watch the bytes go by" energy. π
β¨ SYNOPSIS β¨
okay so the whole setup is literally this, bestie:
my $pb = Term::ProgressBar::IO->new($fh);
while (<$fh>) {
# do something
$pb->update();
}
π¦ DESCRIPTION π¦
Displays 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. periodt. π
π BUGS π
None known. literally none β we love a clean vibe check. β¨
π METHODS π
π new π
Create and return a new Term::ProgressBar::IO instance. slay. π«Ά
ARGUMENTS
countβ a valid filehandle or item count.IO::Uncompressfilehandles are also properly handled. π- OTHER ARGUMENTS β all other arguments are documented in
Term::ProgressBar. iykyk. π
π update π
Automatically update the progress bar based on the position of the filehandle given at construction time. the way it just knows?? iconic. π
ARGUMENTS
so_farβ current progress point; this defaults to the current position of the filehandle. [You probably don't actually want to ever give this.] π
okay bye bestie!! this page is from perl v5.42.0, dated 2022-10-09, and it's the Term::P...sBar::IO(3) manual page β mwah π
π¦ where this page comes from
- opensuse-leap 16.0: perl-Term-ProgressBar 2.23-bp160.1.11 Β· Artistic-1.0 OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms