Hi,

Can you access session variables inside the TT template?
Like if I set
                session 'display' =>10;
in my controller, then how can I access the vaule from within the template?

And, how do I dereference a scalar reference passed to the template as :

my $myvalue=10

return template  '/data' => {
         total=>\$myvalue
    };
_______________________________________________
dancer-users mailing list
[email protected]
http://lists.preshweb.co.uk/mailman/listinfo/dancer-users

Reply via email to