GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  TERM::PROGRESSBAR::IO (3)

.ds Aq ’

NAME

Term::ProgressBar::IO -- Display a progress bar while reading from a seekable filehandle

CONTENTS

SYNOPSIS



  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.

BUGS

None known.

METHODS

    new

Create and return a new Term::ProgressBar::IO instance.
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

    update

Automatically update the progress bar based on the position of the filehandle given at construction time.
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.]
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 TERM::PROGRESSBAR::IO (3) 2015-01-23

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.