manpagez: man pages & more
man Test2::Util::Sig(3)
Home | html | info | man
Test2::Util::Sig(3)   User Contributed Perl Documentation  Test2::Util::Sig(3)



NAME

       Test2::Util::Sig - Signal tools used by Test2 and friends.


DESCRIPTION

       Collection of signal tools used by Test2 and friends.


EXPORTS

       All exports are optional. You must specify subs to import.

       ($ok, $err) = try_sig_mask { ... }
           Complete an action with several signals masked, they will be
           unmasked at the end allowing any signals that were intercepted to
           get handled.

           This is primarily used when you need to make several actions atomic
           (against some signals anyway).

           Signals that are intercepted:

           SIGINT
           SIGALRM
           SIGHUP
           SIGTERM
           SIGUSR1
           SIGUSR2


SOURCE

       The source code repository for Test2 can be found at
       <https://github.com/Test-More/test-more/>.


MAINTAINERS

       Chad Granum <exodist@cpan.org>


AUTHORS

       Chad Granum <exodist@cpan.org>
       Kent Fredric <kentnl@cpan.org>


COPYRIGHT

       Copyright Chad Granum <exodist@cpan.org>.

       This program is free software; you can redistribute it and/or modify it
       under the same terms as Perl itself.

       See <https://dev.perl.org/licenses/>

perl v5.34.3                      2025-01-23               Test2::Util::Sig(3)

test-simple 1.302.209 - Generated Thu Jan 23 07:25:55 CST 2025
© manpagez.com 2000-2025
Individual documents may contain additional copyright information.