in reply to Using SIG{ALRM} within while loop.
If you want some idea as to more complex options, see this page: https://docs.perl6.org/type/Proc::Asyncperl6 -e 'my $a = Proc::Async.new: "bash", "-c", "echo \"Hallo, sleepi +ng for 120 seconds ...\"; sleep 10"; $*SCHEDULER.cue(-> { say "In han +dler..." }, in => 1, every => 2); await $a.start'
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Using SIG{ALRM} within while loop.
by Xliff (Initiate) on Jul 24, 2019 at 11:15 UTC | |
by evroom (Novice) on Jul 24, 2019 at 11:23 UTC |