eff_i_g has asked for the wisdom of the Perl Monks concerning the following question:
monks,
i am working with fork, %SIG, and the END block on version 5.8.6, and i have a few curiosities:
thank you.
edit: sorry for the name botch on the reply etm, i just got back from lunch :P
i am working with fork, %SIG, and the END block on version 5.8.6, and i have a few curiosities:
- when exit is used, is a SIG called (i tried INT and QUIT) or only the END block?
- what happens when you use exit inside of a terminating signal subroutine? it knows it is already exiting, so is exit ignored, or will it still use the return value specified, if any?
- when working with fork, can you "instruct" code within an END block to only execute for the parent and not the child?
thank you.
edit: sorry for the name botch on the reply etm, i just got back from lunch :P
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: fork, %SIG, END.
by etm117 (Pilgrim) on Aug 19, 2005 at 17:57 UTC | |
by eff_i_g (Curate) on Aug 19, 2005 at 19:01 UTC | |
by etm117 (Pilgrim) on Aug 19, 2005 at 21:06 UTC | |
Re: fork, %SIG, END.
by Ven'Tatsu (Deacon) on Aug 19, 2005 at 18:15 UTC |
Back to
Seekers of Perl Wisdom