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


Term-Twiddle-Quiet documentation  | view source Contained in the Term-Twiddle-Quiet distribution.

Index


NAME

Top

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

VERSION

Top

version 1.100110

SYNOPSIS

Top

    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

Top

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

Top

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

Top

  Jerome Quelin

COPYRIGHT AND LICENSE

Top


Term-Twiddle-Quiet documentation  | view source Contained in the Term-Twiddle-Quiet distribution.