Help for this page
# Optional, but a good idea with short durations. use Time::HiRes qw( sleep time ); ... $duration = $sleep_till - time(); } }