Paketname | libsys-sigaction-perl |
Beschreibung | Perl extension for consistent signal handling |
Archiv/Repository | Offizielles Ubuntu Archiv lucid (universe) |
Version | 0.11-1 |
Sektion | universe/perl |
Priorität | optional |
Installierte Größe | 84 Byte |
Hängt ab von | perl (>= 5.6.0-16) |
Empfohlene Pakete | |
Paketbetreuer | Ubuntu MOTU Developers |
Quelle | |
Paketgröße | 22332 Byte |
Prüfsumme MD5 | 457beb43c74276bf74f4f4047ae35608 |
Prüfsumme SHA1 | cc5572aa4c9ccf9ccda379bed9af6b20144b0e95 |
Prüfsumme SHA256 | 75d55d4b759f9c2cdfe795dabba538d7971d0e8724d9eef2b69f0ee2116c404a |
Link zum Herunterladen | libsys-sigaction-perl_0.11-1_all.deb |
Ausführliche Beschreibung | Sig::SigAction implements set_sig_handler(), which sets up a signal handler and
(optionally) returns an object which causes the signal handler to be reset to
the previous value, when it goes out of scope.
.
Also implemented is timeout_call() which takes a timeout value and a code
reference, and executes the code reference wrapped with an alarm timeout.
.
Finally, two convenience routines are defined which allow one to get the
signal name from the number -- sig_name(), and get the signal number from the
name -- sig_number().
|