-
-
11 Dec 2007 16:08:24 UTC
- Distribution: Term-ProgressBar-Quiet
- Module version: 0.31
- Source (raw)
- Browse (raw)
- Changes
- How to Contribute
- Issues (2)
- Testers (7166 / 1 / 2)
- Kwalitee
Bus factor: 0- 90.32% Coverage
- License: perl_5
- Activity
24 month- Tools
- Download (1.88KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
- Dependencies
- IO::Interactive
- Term::ProgressBar
- Test::MockObject
- Test::More
- and possibly others
- Reverse dependencies
- CPAN Testers List
- Dependency graph
NAME
Term::ProgressBar::Quiet - Provide a progress meter if run interactively
SYNOPSIS
use Term::ProgressBar::Quiet; my @todo = ( 'x' x 10 ); my $progress = Term::ProgressBar::Quiet->new( { name => 'Todo', count => scalar(@todo), ETA => 'linear' } ); my $i = 0; foreach my $todo (@todo) { # do something with $todo $progress->update( ++$i ); } $progress->message('All done');
DESCRIPTION
Term::ProgressBar is a wonderful module for showing progress bars on the terminal. This module acts very much like that module when it is run interactively. However, when it is not run interactively (for example, as a cron job) then it does not show the progress bar.
AUTHOR
Leon Brocard, acme@astray.com
COPYRIGHT
Copyright (c) 2007 Leon Brocard. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Module Install Instructions
To install Term::ProgressBar::Quiet, copy and paste the appropriate command in to your terminal.
cpanm Term::ProgressBar::Quiet
perl -MCPAN -e shell install Term::ProgressBar::Quiet
For more information on module installation, please visit the detailed CPAN module installation guide.