Maypole::Constants(3)

πŸ“¦
version 2.13 Β· 2 versions
, in fedora 43

πŸ’– Maypole::Constants β€” the manual page, but make it cute

okay so bestie, you found the Maypole::Constants(3) page, part of the User Contributed Perl Documentation situation, and honestly? it's short, it's sweet, it's iconic. let's get into it. πŸŽ€


✨ NAME ✨

Maypole::Constants β€” literally just Maypole's predefined constants. that's the whole vibe. constants. predefined. slay. πŸ’…


🌸 SYNOPSIS 🌸

here's the moment you've been waiting for, the code, verbatim, no cap:

use Maypole::Constants;

sub authenticate {
    if (valid_user()) {
        return OK;
    } else {
        return DECLINED
    }
}

see how pretty that is? you use the thing, then you return OK or DECLINED like the main character you are. πŸ¦‹


πŸ’œ DESCRIPTION πŸ’œ

this class defines constants for use with Maypole. that's it. that's the description. short queen energy. πŸ‘‘


⭐ CONSTANTS ⭐

these are the three constants it gives you, and yes we're listing all of them because the one rule is we keep every detail:

  • OK
  • DECLINED
  • ERROR

three little words, three whole moods. 🫢


🌈 SEE ALSO 🌈

  • Maypole

(go read that one too, bestie, it's the whole point.) 😌


πŸŽ€ MAINTAINER πŸŽ€

Aaron Trevena, teejay@droogs.org β€” the one holding it down. πŸ’–


πŸ’« AUTHOR πŸ’«

Simon Cozens, simon@cpan.org β€” the originator, the blueprint, the moment. ✨


πŸ“œ LICENSE πŸ“œ

you may distribute this code under the same terms as Perl itself. fr fr. πŸ“


lowkey a tiny page but every single line of it is doing its job, and we respect that. πŸ™ˆ

and that's the whole thing!! this was perl v5.42.0, dated 2025-07-25, and it's the Maypole::Constants(3) page β€” tysm for coming to my ted talk, ily, bye bestie!! πŸ§šπŸ’œ

πŸ“¦ where this page comes from