in reply to perl's sleep function

sleep sets a timer for its argument's number of seconds. It returns the number of seconds slept because it may be interrupted by another signal. To be careful, do,

my $timeout = 86400; $timeout -= sleep $timeout while $timeout > 0;
Unsafe to mix with alarm on some platforms.

After Compline,
Zaxo