Mason:...efault(3pm)
π NAME π
Mason::PluginBundle::Default β the default plugins, bestie. The ones that just... show up. Every time. No invitation needed. β¨
(It's a Perl thing, from the User Contributed Perl Documentation, section 3pm, and the header literally spells it Mason:...efault(3pm) because apparently truncation is a lifestyle. π)
πΈ DESCRIPTION πΈ
Okay so listen. The plugins in this bundle are always added by default. Like, always always. It does not matter one bit whether you pass a plugins list to Mason->new β they're coming. They're already in the group chat. π
But!! You can kick them out. Use the - prefix to remove individual plugins, or to remove the whole entire bundle. Iconic behaviour honestly. Here's the receipts:
# Will get just the default plugins
Mason->new(...);
Mason->new(plugins => [], ...);
# Will get the default plugins plus the 'Foo' plugin
Mason->new(plugins => ['Foo'], ...);
# Will get the default plugins except for 'DollarDot'
Mason->new(plugins => ['-DollarDot'], ...);
# Will get no plugins
Mason->new(plugins => ['-Default'], ...);
So like β pass [] and you still get the defaults (they said no but the defaults said yes π). Pass ['Foo'] and you get defaults plus Foo. Pass ['-DollarDot'] and it's defaults minus that one specific queen. Pass ['-Default'] and congrats, you have no plugins, it's giving minimalist. π¦
π INCLUDED PLUGINS π
The main characters in this bundle, the ones who never leave:
DeferDollarDot
π SEE ALSO π
Mason
β¨ AUTHOR β¨
Jonathan Swartz <swartz@pobox.com> β the blueprint, the legend. π«Ά
π COPYRIGHT AND LICENSE π
This software is copyright (c) 2012 by Jonathan Swartz. π
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. So go off, remix it, share it, it's yours to play with. π
And that's the whole page, bestie!! Sourced from perl v5.34.0, dated 2022-05-27, straight out of the User Contributed Perl Documentation. Slay, stay safe, and remember: the defaults are always gonna default. ππ
πΈ
π¦ where this page comes from
- debian bookworm: libmason-perl 2.24-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: libmason-perl 2.24-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libmason-perl 2.24-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libmason-perl 2.24-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libmason-perl 2.24-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