[Dancer-users] Dancer qw(:script) - possible bug with template

Nick Knutov mail at knutov.com
Sun Jul 3 12:43:23 CEST 2011

use Dancer qw(:script);
use myapp;
my $report = template '...', {foo=>'bar'}, {layout=>''};

Can't call method "params" on an undefined value at 
/usr/local/share/perl/5.10.1/Dancer/Template/Abstract.pm line 112.

Is it a bug? Or what I'm doing wrong?

Best Regards,
Nick Knutov
ICQ: 272873706
Voice: +7-904-84-23-130

More information about the Dancer-users mailing list