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
In reply to Re: Spooky actions from a signal handler possible?
by RonW
in thread Spooky actions from a signal handler possible?
by belg4mit
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |