Perl Programming/Keywords/sleep

The sleep keyword
sleep makes the process sleep for the number of seconds passed by the EXPRESSION seconds (integer).

It's not a good idea to mix alarm and sleep calls, as sleep is often implemented using alarm.

Examples
The code