Fennec::Util(3pm)
β¨ Fennec::Util β¨
okay so bestie, welcome to Fennec::Util β the little toolbox module that the whole Fennec universe keeps in its bag π. It's not the main character, it's the friend who always has a charger, a snack, and a spare subroutine.
π¦ DESCRIPTION π¦
This class is literally just useful utility functions that get used all over Fennec. That's the whole vibe. No cap. π
π EXPORTS π
Here's the good stuff you can pull into your own code, one by one, no skips:
require_module( 'Some::Module' )β say you've got a module name just... sitting there as a string π. This one loads it for you. String in, module loaded. Iconic.inject_sub( $package, $name, $code )β injects a sub straight into a package π«Ά. You bring the package, the name, and the code, and it makes it happen. Surgical. Slay.accessors( @attributes )β generates basic accessors for the attributes you hand it, and drops them into the calling package β¨. Free accessors, zero effort, we love to see it.@call = get_test_call()β this one's giving detective energy π. It looks back up through the stack and finds the last call that took place in a test class, then hands you that call as a list. iykyk.
π API STABILITY π
Listen up, this part matters, fr fr:
Fennec versions below 1.000 were considered experimental, which means the API was subject to change β chaos era π. But as of version 1.0, the API is considered stabilized. π
New versions may add functionality. They will not remove or significantly alter the stuff that already exists. So you can build on it and chill. Periodt. πΈ
π AUTHORS π
Chad Granum β exodist7@gmail.com β the genius behind all this π§
π COPYRIGHT π
Copyright (C) 2013 Chad Granum
Fennec is free software; Standard perl license.
Fennec 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 for more details.
β οΈ Yeah bestie, that all-caps part is real β no warranty, no promises, read the license. The caps are legally doing the heavy lifting, not me. π
And that's the whole page! This lil' doc shipped with perl v5.36.0 and got dated 2022-12-02 β the Fennec::Util page itself, living its 3pm-manpage life. Byeee, go write some tests πβ¨π
π¦ where this page comes from
- debian bookworm: libfennec-perl 2.018-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: libfennec-perl 2.018-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libfennec-perl 2.018-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libfennec-perl 2.018-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libfennec-perl 2.018-2 Β· 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