@procs = { $_->alive ? $_ : ItsOverMaybeRestart($_) } map @procs;
I don't know anything about Proc::Background, but shouldn't that be something like
?@procs = map { $_->alive ? $_ : ItsOverMaybeRestart($_) } @procs;
Give a man a fish: <%-{-{-{-<
In reply to Re^3: Learning to use fork() (use Proc::Background)
by AnomalousMonk
in thread Learning to use fork()
by ovedpo15
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |