table of contents
- unstable 1.302209-1
Test2::Util::Sig(3pm) | User Contributed Perl Documentation | Test2::Util::Sig(3pm) |
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:
SOURCE¶
The source code repository for Test2 can be found at <https://github.com/Test-More/test-more/>.
MAINTAINERS¶
AUTHORS¶
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.
2025-01-26 | perl v5.40.0 |