Jerome Quelin > Term-Twiddle-Quiet > Term::Twiddle::Quiet

Download:
Term-Twiddle-Quiet-1.100110.tar.gz

Dependencies

Annotate this POD

Website

View/Report Bugs
Module Version: 1.100110   Source  

NAME ^

Term::Twiddle::Quiet - Twiddles a thingy while-u-wait if run interactively

VERSION ^

version 1.100110

SYNOPSIS ^

    use Term::Twiddle::Quiet;
    my $tw = Term::Twiddle::Quiet->new( \%params );
    $tw->start;
    # do some stuff taking a long time in here
    $tw->stop;

DESCRIPTION ^

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.

METHODS ^

my $tw = Term::Twiddle::Quiet->new( \%params );

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.

AUTHOR ^

  Jerome Quelin

COPYRIGHT AND LICENSE ^

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.

syntax highlighting: