-
-
19 Jun 2021 02:05:03 UTC
- Distribution: Acme-ProgressBar
- Module version: 1.129
- Source (raw)
- Browse (raw)
- Changes
- Homepage
- How to Contribute
- Repository
- Issues
- Testers (92 / 0 / 3)
- Kwalitee
Bus factor: 1- 100.00% Coverage
- License: perl_5
- Perl: v5.12.0
- Activity
24 month- Tools
- Download (15.81KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
and 2 contributors-
Ricardo Signes
-
Sean Zellmer
- NAME
- VERSION
- SYNOPSIS
- DESCRIPTION
- PERL VERSION SUPPORT
- FUNCTIONS
- TODO
- SEE ALSO
- AUTHOR
- CONTRIBUTOR
- COPYRIGHT AND LICENSE
NAME
Acme::ProgressBar - a simple progress bar for the patient
VERSION
version 1.129
SYNOPSIS
use Acme::ProgressBar; progress { do_something_slow };
DESCRIPTION
Acme::ProgressBar provides a simple solution designed to provide accurate countdowns. No progress bar object needs to be created, and all the calculation of progress through total time required is handled by the module itself.
PERL VERSION SUPPORT
This module is shipped with no promise about what version of perl it will require in the future. In practice, this tends to mean "you need a perl from the last three years," but you can't rely on that. If a new version of perl ship, this software may begin to require it for any reason, and there is no promise that patches will be accepted to lower the minimum required perl.
FUNCTIONS
progress
progress { unlink $_ for <*> }; progress { while (<>) { $ua->get($_) } }; progress { sleep 5; }
There is only one function exported by default,
progress
. This function takes a coderef as its lone argument. It will execute this code and display a simple progress bar indicating the time required for ten iterations through the code.TODO
allow other divisions of time (other than ten)
SEE ALSO
Term::ProgressBar, Term::ProgressBar::Simple, Progress::Any::Output::TermProgressBarColor, Smart::Comments
AUTHOR
Ricardo Signes <rjbs@semiotic.systems>
CONTRIBUTOR
Sean Zellmer <sean@lejeunerenard.com>
COPYRIGHT AND LICENSE
This software is copyright (c) 2010 by Ricardo Signes.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
Module Install Instructions
To install Acme::ProgressBar, copy and paste the appropriate command in to your terminal.
cpanm Acme::ProgressBar
perl -MCPAN -e shell install Acme::ProgressBar
For more information on module installation, please visit the detailed CPAN module installation guide.