Signal::Pending(3pm)
β¨ Signal::Pending β¨
ok so bestie, welcome to Signal::Pending β it's Signal pending status made easy π like literally that's the whole vibe. it's a Perl thing from the User Contributed Perl Documentation corner of the world and it's here to make your signals behave. π
πΈ VERSION πΈ
this is version 0.009 β yes it's giving vintage but she WORKS π«Ά
π¦ SYNOPSIS π¦
here's the whole moment, copied exactly so you can just vibe:
use Signal::Mask;
use Signal::Pending;
{
local $Signal::Mask{INT} = 1;
do {
something();
} while (not $Signal::Pending{INT})
}
#signal delivery gets postponed until now
like... do you see her? she's iconic. π
π DESCRIPTION π
okay so real talk: Signal::Pending is an abstraction around your process'/thread's pending signals. that's the whole job, no cap. π§
you can use it in combination with signal masks to handle signals in a controlled manner β like, you're the main character, you decide when the signal gets to show up to the party. π
and the set of pending signals? it's just available as the global hash %Signal::Pending. that's it. that's the API. go off. π₯
ngl the way this works is: mask the signal, do your little loop, and the delivery just gets postponed until you're ready. controlled chaos, but make it cute. π
π AUTHOR π
Leon Timmermans <fawaka@gmail.com> β the legend herself, we stan π«Ά
π COPYRIGHT AND LICENSE π
This software is copyright (c) 2010 by Leon Timmermans. π
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. slay, legally. π
okay bestie that's the whole page, no notes β¨ this came to you via perl v5.40.1, dated 2026-03-13, straight from the Signal::Pending(3pm) page in the User Contributed Perl Documentation collection. mwah π go handle those signals responsibly, queen ππ
π¦ where this page comes from
- ubuntu stonking: libsignal-mask-perl 0.009-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms