Lets you define a keyword that will be exported by the plugin.
|<B>register_pluginB>||A Dancer plugin must end with this statement. This lets the plugin register all the symbols define with register as exported symbols (via the Exporter module).|
Allows a plugin to declare a list of supported hooks. Any hook declared like so
can be executed by the plugin with execute_hooks.
Allows a plugin to execute the hooks attached at the given position
The hook must have been registered by the plugin first, with register_hook.
Configuration for plugin should be structured like this in the config.yml of
If plugin_setting is called inside a plugin, the appropriate configuration will be returned. The plugin_name should be the name of the package, or, if the plugin name is under the <B>Dancer::Plugin::B> namespace (which is recommended), the remaining part of the plugin name.
To easy migration and interoperability between Dancer 1 and Dancer 2
you can use this method to obtain the arguments or parameters passed
to a plugin-defined keyword. Although not relevant for Dancer 1 only,
or Dancer 2 only, plugins, it is useful for universal plugins.
Note that Dancer 1 will return undef as the object reference.
This module has been written by Alexis Sukrieh and others.
This module is free software and is published under the same terms as Perl itself.
Dancer Core Developers
This software is copyright (c) 2010 by Alexis Sukrieh.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
|perl v5.20.3||DANCER::PLUGIN (3)||2015-06-12|