When i am going through some code in my project, i found something term called $SIG{HUP},$SIG{TERM}. Can anybody give me some idea about these signals..Well, here it's clear you have to do with a hash called %SIG. Check perldoc perlvar:
and read the docs referenced therein, e.g. perldoc perlipc.%SIG $SIG{expr} The hash %SIG contains signal handlers for signals. For exam- ple:
and also what are the various signals that are present in perl. I am using perl version 5.00_03.Signals are not stuff "present in perl". They rather have to do with the OS, although (from the same source as above):
In any case if you're really interested, you may benefit from reading a UNIX programming book, even if not a Perl one.Certain internal hooks can be also set using the %SIG hash.
In reply to Re: Question On signals in perl
by blazar
in thread Question On signals in perl
by kprasanna_79
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |