chinaxing has asked for the wisdom of the Perl Monks concerning the following question:
I exploit the %SIG hash, found most of values are "undef", some of are "IGNORE";
perl -MData::Dumper -E ' print Dumper \%SIG '
What confuse me is that, if SIGnal's process was set to undef,
how the signal will be processed when it come up ? ( ignore ? call the default action defined by OS ?)
BTW, if I want to set SIGPIPE 's handle to default; how can i to get it ?
very thanks your patient to answer this :)$SIG{PIPE} = undef or $SIG{PIPE} = "" or #some thing else;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: perl SIGnal process
by betterworld (Curate) on Aug 08, 2013 at 12:00 UTC | |
by chinaxing (Acolyte) on Aug 19, 2013 at 07:56 UTC | |
|
Re: perl SIGnal process
by kcott (Archbishop) on Aug 09, 2013 at 05:12 UTC | |
by chinaxing (Acolyte) on Aug 19, 2013 at 07:57 UTC |