14 Oct
2015
14 Oct
'15
2:38 p.m.
On 10/14/2015 04:33 PM, Rubén Amórtegui wrote:
Hi!!!
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?
Ruben.
The first parameter for the route sub is an $app object, so you can do for example: $app->request->params Regards Racke -- Perl and Dancer Development Visit our Perl::Dancer conference 2015. More information on https://www.perl.dance.