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. β¨
π COPYRIGHT AND LICENSE π
- 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
- opensuse-leap 16.0: perl-MooX-Options 4.103-bp160.1.10 Β· Artistic-1.0 OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms