Stability(3)
π Canary::Stability β the vibe check for your perl π
So like, the manual page for Stability(3) lives in the User Contributed Perl Documentation section, and honestly? It's giving "small module, big feelings." Let's get into it bestie. π
β¨ NAME β¨
Canary::Stability β a literal canary π€ that checks whether your perl is even compatible with schmorp's modules. No cap.
πΈ SYNOPSIS πΈ
# in Makefile.PL
use Canary::Stability DISTNAME => 2001, MINIMUM_PERL_VERSION;
That's it. That's the whole API. Iconic, honestly. π
π¦ DESCRIPTION π¦
Okay so here's the tea β: Schmorp's modules use this during the configuration stage to test the perl you've got installed and see if it's compatible with his modules. That's the whole job. It's a canary in a coal mine, but make it perl. π€
At this stage, it is not meant as a tool for other module authors β like, it's not built for you to adopt, bestie. However, in principle nothing stops anyone from subscribing to the same ideas. The door's unlocked, it's just not, like, an invitation. π
Wanna see it in the wild? Peep the Makefile.PL in Coro or AnyEvent for usage examples. Go look, it's right there, iykyk. π
π ENVIRONMENT VARIABLES π
These little guys control the whole mood. Memorize them fr fr.
PERL_CANARY_STABILITY_NOPROMPT=1β do not prompt the user on alert messages. Just... no pop-ups. Silence. Peace. ποΈPERL_CANARY_STABILITY_COLOUR=0β disable use of colour. For when you want the raw, unseasoned experience. πPERL_CANARY_STABILITY_COLOUR=1β force use of colour. Even when it shouldn't. Especially when it shouldn't. πβ¨PERL_CANARY_STABILITY_DISABLE=1β disable this module's functionality completely. Nuclear option. The module doesn't exist to you anymore. πAUTOMATED_TESTING=1β so when this bad boy is set to a true value and the perl minimum version requirement is not met? The module will exit, which should skip testing under automated testing environments. πͺπ¨
Okay, why tho? π
This is done to avoid false failure or false success reports when the chances of success are already quite low β and the failures are not supported by the author. Like, if it's already doomed, why generate confusing paperwork about it? Exactly. π ββοΈ
π AUTHOR π
Marc Lehmann <schmorp@schmorp.de> π
http://software.schmorp.de/pkg/Canary-Stability.html π
And that's the whole thing! Written and shipped in the world of perl v5.42.0, dated 2019-04-23 β so like, this page has been serving looks since 2019 and it's still eating. π Thanks for coming to my Ted Talk, mwah. π«Άβ¨
π¦ where this page comes from
- opensuse-leap 16.0: perl-Canary-Stability 2013-160000.2.2 Β· Artistic-1.0 OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms