[Dancer-users] before_template help

igor.bujna at post.cz igor.bujna at post.cz
Tue Sep 14 01:32:22 CEST 2010


Hello,
i read documentation for before_template in http://search.cpan.org/~sukria/Dancer/lib/Dancer.pm#before_template 

It will be nice to put some help text like

before_template sub {
    my $tokens = shift;
    $tokens->{'hello'} = sub { return "hello world\n"; };
};

for understanding use before_template.
Thank you


More information about the Dancer-users mailing list