MooX::O...aceClean(3)

πŸ¦‹ NAME πŸ¦‹

Okay bestie, you're looking at MooX::O...aceClean(3) β€” yep, a User Contributed Perl Documentation page β€” and it's literally about using namespace::clean with MooX::Options. Slay. πŸ’…

✨ DESCRIPTION ✨

So MooX::Options exports private methods to keep track of all your options. That's the whole system, iykyk. You need to keep some of them to make it work β€” not all of them, but some. πŸ‘€

On top of the advice from Moo, some of the imported methods need to be visible ... (Yes, the little ellipsis stays. We're being faithful. πŸŽ€)

🌸 USAGE 🌸

Here's the exact vibe:

use MooX::Options;
use namespace::clean -except => [qw/_options_data _options_config/];

That -except list is doing main character work: _options_data and _options_config are the exceptions. Periodt. πŸ’–

🫢 SEE ALSO 🫢

  • "CLEANING UP IMPORTS" in Moo β€” the Moo section with the cleaning-up-imports tea. β˜•
  • MooX::Options β€” the module this page is vibing with. πŸ¦‹

πŸ‘‘ AUTHOR πŸ‘‘

celogeek <me@celogeek.com> β€” iconic. ✨

  • This software is copyright (c) 2013 by celogeek <me@celogeek.com>.
  • This software is copyright (c) 2017 by Jens Rehsack.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.


Mwah πŸ’‹ β€” this page is from perl v5.42.0, dated 2019-04-03, and the manual name is MooX::O...aceClean(3). Byeee! πŸ¦‹βœ¨

πŸ“¦ where this page comes from