| 1 | package Signal::Safety; | ||
| 2 | { | ||
| 3 | 2 | $Signal::Safety::VERSION = '0.002'; | |
| 4 | } | ||
| 5 | 2 | ▶ | use 5.008001; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 6 | 2 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 7 | 2 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 8 | |||
| 9 | 2 | ▶ | use XSLoader; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 10 | |||
| 11 | 2 | XSLoader::load(__PACKAGE__, __PACKAGE__->VERSION); | |
| 12 | |||
| 13 | 2 | 1; | |
| 14 | |||
| 15 | #ABSTRACT: Enable or disable safe signal handling | ||
| 16 | |||
| 17 | |||
| 18 | |||
| 19 | =pod | ||
| 20 | |||
| 21 | =head1 NAME | ||
| 22 | |||
| 23 | Signal::Safety - Enable or disable safe signal handling | ||
| 24 | |||
| 25 | =head1 VERSION | ||
| 26 | |||
| 27 | version 0.002 | ||
| 28 | |||
| 29 | =head1 SYNOPSIS | ||
| 30 | |||
| 31 | { | ||
| 32 | local $Signal::Safety = 0; | ||
| 33 | do_something_scary(): | ||
| 34 | } | ||
| 35 | |||
| 36 | =head1 DESCRIPTION | ||
| 37 | |||
| 38 | This module exposes perl's signal safety feature. It allows you to temporarily turn off safe signal handling in a user-friendly way. | ||
| 39 | |||
| 40 | =head1 AUTHOR | ||
| 41 | |||
| 42 | Leon Timmermans <leont@cpan.org> | ||
| 43 | |||
| 44 | =head1 COPYRIGHT AND LICENSE | ||
| 45 | |||
| 46 | This software is copyright (c) 2011 by Leon Timmermans. | ||
| 47 | |||
| 48 | This is free software; you can redistribute it and/or modify it under | ||
| 49 | the same terms as the Perl 5 programming language system itself. | ||
| 50 | |||
| 51 | =cut | ||
| 52 | |||
| 53 | |||
| 54 | __END__ | ||