Help for this page

Select Code to Download


  1. or download this
    sub my_sleep {
        my $sleep_time = (shift or 1); # total time to sleep
    ...
        my $elapsed = time - $start;
        return $elapsed; # total time actually slept (plus shipping and ha
    +ndling)
    }