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