[dancer-users] Who is using [%prefix%] in templates?

Henk van Oers hvo.pm at xs4all.nl
Sun Sep 29 14:07:03 BST 2013


I do. I have a hook:

hook before_template => sub {
     my $tokens = shift;
     $tokens->{prefix} = prefix;
};

Is this a good candidate to implement in
https://metacpan.org/module/Dancer::Template::Abstract
as default Dancer inject like
qw(perl_version dancer_version settings request params vars session); ?

-- 
Henk


More information about the dancer-users mailing list