Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^3: Signal to a sleeping Perl program

by QM (Parson)
on Jan 20, 2020 at 10:59 UTC ( #11111628=note: print w/replies, xml ) Need Help??

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)
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://11111628]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (8)
As of 2020-04-08 10:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The most amusing oxymoron is:
















    Results (43 votes). Check out past polls.

    Notices?