陳衍良 > Term-Pulse-v0.01 > Term::Pulse

Download:
Term-Pulse-v0.01.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
Report a bug
Module Version: v0.01   Source   Latest Release: Term-Pulse-0.03

NAME ^

Term::Pulse - show progress bar in terminal

VERSION ^

Version 0.01

SYNOPSIS ^

    use Term::Pulse;
    pulse_start( name => 'Checking', rotate => 0, time => 1 ); # start the pulse
    sleep 3;
    pulse_stop()                                               # stop it

EXPORT ^

The following functions are exported by default.

pulse_start()

pulse_stop()

FUNCTIONS ^

pulse_start()

Use this functions to start the pulse. Accept the following arguments:

    Argument            Default
    ----------------------------
    name                'Working'
    rotate              0
    size                16
    time                0

pulse_stop()

    Stop the pulse and return elapsed time

AUTHOR ^

Yen-Liang Chen, <alec at cpan.com>

BUGS ^

Please report any bugs or feature requests to bug-tsmc-pulse at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=TSMC-Pulse. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SUPPORT ^

You can find documentation for this module with the perldoc command.

    perldoc TSMC::Pulse

You can also look for information at:

COPYRIGHT & LICENSE ^

Copyright 2008 Alec Chen, all rights reserved.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.