Term::Twiddle::Quiet - Twiddles a thingy while-u-wait if run interactively
version 1.100110
use Term::Twiddle::Quiet; my $tw = Term::Twiddle::Quiet->new( \%params ); $tw->start; # do some stuff taking a long time in here $tw->stop;
Term::Twiddle is a nice module for showing spinning thingies on the terminal while waiting for an action to complete.
Term::Twiddle::Quiet acts very much like that module when it is run interactively. However, when it isn't run interactively (for example, as a cron job) then it does not show the twiddle.
Other than this difference, it really act as a Term::Twiddle with all its options, methods and restrictions (of course, it supports the same API) - cf its documentation for more information.
Create and return twiddle. The twiddle will do nothing when activated if the program is ran non-interactively, otherwise it'll return a plain Term::Twiddle object.
Jerome Quelin
This software is copyright (c) 2010 by Jerome Quelin.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Term::Twiddle::Quiet, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Term::Twiddle::Quiet
CPAN shell
perl -MCPAN -e shell install Term::Twiddle::Quiet
For more information on module installation, please visit the detailed CPAN module installation guide.