App::G...stants(3pm)
β¨ NAME β¨
App::GitHooks::Constants β it's the constants module, bestie π The one that holds all the shared constants used by the various modules hanging out in the App::GitHooks namespace. Everybody borrows from her, nobody argues with her. Queen behavior honestly π
πΈ VERSION πΈ
Version 1.9.0 β she's grown, she's thriving π¦
π VARIABLES π
π Plugin return values π
These are the lil mood rings a plugin hands back after it does its checks. Every one of them is a scalar variable, so use them with the $ sigil, no cap.
$PLUGIN_RETURN_FAILEDβ the plugin ran its checks and they did not pass. Straight up no. π$PLUGIN_RETURN_SKIPPEDβ the plugin's checks got skipped entirely. Not a fail, not a pass, justβ¦ we didn't do the thing π$PLUGIN_RETURN_WARNEDβ the checks didn't fail fail, but they also didn't come out clean, and warnings got returned. It's giving "I'm not mad, I'm just disappointed" π$PLUGIN_RETURN_PASSEDβ the plugin's checks passed and there's no warn. Full slay, green flags everywhere β β¨
π¦ Hook exit codes π¦
The numbers a hook throws back at the world when it's done.
$HOOK_EXIT_SUCCESSβ the hook executed successfully. Periodt. π$HOOK_EXIT_FAILUREβ the hook failed to execute correctly. She tripped. It happens π
π EXPORT TAGS π
Grouped up so you can import a whole vibe in one go, iykyk.
:PLUGIN_RETURN_CODESβ exports$PLUGIN_RETURN_FAILED,$PLUGIN_RETURN_SKIPPED, and$PLUGIN_RETURN_PASSED.:HOOK_EXIT_CODESβ exports$HOOK_EXIT_SUCCESS,$HOOK_EXIT_FAILURE.
π BUGS π
Found a bug? Got a feature request? Please report any bugs or feature requests through the web interface at <https://github.com/guillaumeaubert/App-GitHooks/issues/new>. The way this works: I will be notified, and then you'll automatically be notified of progress on your bug as I make changes. Full transparency, we love to see it π«Ά
πΈ SUPPORT πΈ
You can find documentation for this module with the perldoc command. Obsessed with her.
perldoc App::GitHooks::Constants
You can also look for information at:
- GitHub's request tracker
<https://github.com/guillaumeaubert/App-GitHooks/issues>
- AnnoCPAN: Annotated CPAN documentation
<http://annocpan.org/dist/app-githooks>
- CPAN Ratings
<http://cpanratings.perl.org/d/app-githooks>
- MetaCPAN
<https://metacpan.org/release/App-GitHooks>
π AUTHOR π
Guillaume Aubert <https://metacpan.org/author/AUBERTG>, "<aubertg at cpan.org>".
π COPYRIGHT & LICENSE π
Copyright 2013-2017 Guillaume Aubert.
This code is free software; you can redistribute it and/or modify it under the same terms as Perl 5 itself.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the LICENSE file for more details.
Okay so that all-caps part is not me being dramatic, that's the actual legal bit and it means business. No warranty, bestie. Read the LICENSE file π
And that's the whole page, mwah π This one was rendered from perl v5.42.0 and dated 2025-07-25 β go forth and import your constants responsibly π¦β¨
π¦ where this page comes from
- fedora 43: perl-App-GitHooks 1.9.0-27.fc43 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms