Fennec::Util(3pm)

πŸ“¦
version 2.018 Β· 2 versions
  • 2.018 Β· debian bookworm, debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking (latest)
  • 2.018 Β· ubuntu jammy
, in debian bookworm, debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking

✨ 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 (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