Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: Question On signals in perl

by blazar (Canon)
on Aug 01, 2005 at 13:18 UTC ( [id://479886]=note: print w/replies, xml ) Need Help??


in reply to Question On signals in perl

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:
%SIG $SIG{expr} The hash %SIG contains signal handlers for signals. For exam- ple:
and read the docs referenced therein, e.g. perldoc perlipc.
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):
Certain internal hooks can be also set using the %SIG hash.
In any case if you're really interested, you may benefit from reading a UNIX programming book, even if not a Perl one.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://479886]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (5)
As of 2024-03-29 10:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found