Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

RE: RE: Using Alarm to Handle Timing

by merlyn (Sage)
on Jul 21, 2000 at 07:53 UTC ( #23539=note: print w/replies, xml ) Need Help??


in reply to RE: Using Alarm to Handle Timing
in thread Using Alarm to Handle Timing

Is it possible to say $SIG{ALRM} = \&wake_up(5) by chance?
No. But you can pass a parameter by creating an anonymous subroutine:
$SIG{MUND} = sub { &wakeup(5) };

-- Randal L. Schwartz, Perl hacker

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (6)
As of 2021-12-06 11:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    R or B?



    Results (32 votes). Check out past polls.

    Notices?