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::Uncompress filehandles 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