Lab::Moose::Countdown - Verbose countdown/delay with pretty printing of remaining time
use Lab::Moose::Countdown; # Sleep for 23.45678 seconds with pretty countdown countdown(23.45678, "Getting ready, Remaining time is ");
my $delay = 2 # seconds countdown($delay) my $prefix = "Some prefix text"; countdown($delay, $prefix);
Time::HiRes::sleep. Pretty print the remaining hours/minutes/seconds. If the argument is smaller than 0.5 seconds, no countdown is printed and the function behaves exactly like
This software is copyright (c) 2020 by the Lab::Measurement team; in detail:
Copyright 2018 Simon Reinhardt
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.