Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^3: Signal to a sleeping Perl program

by QM (Parson)
on Jan 20, 2020 at 10:59 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11111628]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (4)
As of 2024-04-24 07:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found