in reply to Spooky actions from a signal handler possible?
Interrupt handlers in Perl are able to modify package variables, so your handler could change a flag. If a designated package variable contains an object reference, then your handler could change the value of a field in that object.
For your situation, may need to use the :perlio layer with the file handles associated with the pipes.
See Perl IPC Signals, including the discussion of Deferred Signals and Interrupting IO
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Spooky actions from a signal handler possible?
by belg4mit (Prior) on Feb 24, 2015 at 20:36 UTC |