The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

stopw - A console-based virtual stopwatch and timer

VERSION

This document describes version 0.041 of stopw (from Perl distribution App-stopw), released on 2019-07-06.

SYNOPSIS

 % stopw [options]

DESCRIPTION

stopw is a console-based virtual stopwatch and timer. After you run the program, you can press:

  • z to reset the timer back to zero

  • r (or spacebar) to record time

    This will print the current value of timer and move to the next line.

  • s (or Enter) to start/stop the timer

  • q (or Ctrl-C) to quit the program

OPTIONS

--banner-size (-b)

Integer, 0-5. Default: 0.

If set to a number between 1-5, will print a large banner (ASCII-art) of mm:ss digits instead of regular text (using Text::Banner). This will also automatically set --update-delay to 1.

--start-at (-s)

Float.

Instead of 0 (00:00), start the timer at a particular second.

--start-stopped (-S)

Start in stopped state. You need to press a single Return to start the stopwatch.

--update-delay (-d)

Float, default: 0.02. Number of seconds between updates.

HOMEPAGE

Please visit the project's homepage at https://metacpan.org/release/App-stopw.

SOURCE

Source repository is at https://github.com/perlancar/perl-App-stopw.

BUGS

Please report any bugs or feature requests on the bugtracker website https://rt.cpan.org/Public/Dist/Display.html?Name=App-stopw

When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.

SEE ALSO

App::Stopwatch which includes the stopwatch console utility. This utility is geared more towards executing a command after a specified time period.

The stopwatch Debian package, a graphical (Tk-based) virtual stopwatch and timer.

The time Unix command.

AUTHOR

perlancar <perlancar@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2019, 2016, 2014 by perlancar@cpan.org.

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