Scroll to navigation

Mason::PluginBundle::Default(3pm) User Contributed Perl Documentation Mason::PluginBundle::Default(3pm)
 

NAME

Mason::PluginBundle::Default - Default plugins

DESCRIPTION

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

INCLUDED PLUGINS

Defer
DollarDot

SEE ALSO

Mason

AUTHOR

Jonathan Swartz <swartz@pobox.com>

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.
2014-02-01 perl v5.18.2