[dancer-users] Call to all Dancer2 plugin writers
Stefan Hornburg (Racke)
racke at linuxia.de
Wed Oct 14 15:38:36 BST 2015
On 10/14/2015 04:33 PM, Rubén Amórtegui wrote:
> This plugin2 looks great!. It solves execution problems of Dancer2::Plugin.
> I have a question about the add_route functionality, how can I access to the DSL keywords? eg. param('param_name') when I'm defining the code for a new route?
The first parameter for the route sub is an $app object, so you can do for example:
Perl and Dancer Development
Visit our Perl::Dancer conference 2015.
More information on https://www.perl.dance.
More information about the dancer-users