DOKK / manpages / debian 12 / libmason-perl / Mason::PluginBundle::Default.3pm.en
Mason::PluginBundle::Default(3pm) User Contributed Perl Documentation Mason::PluginBundle::Default(3pm)

Mason::PluginBundle::Default - Default plugins

Plugins in this bundle are always added by default, regardless of whether you pass a plugins list to "Mason->new". You can use the '-' prefix to remove individual plugins or the whole bundle. e.g.

    # 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'], ...);

Mason

Jonathan Swartz <swartz@pobox.com>

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.

2022-05-27 perl v5.34.0