[dancer-users] session variables inside the template?
Nikos Vaggalis
nikos.vaggalis at gmail.com
Wed Jan 28 08:49:17 GMT 2015
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
};
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.preshweb.co.uk/pipermail/dancer-users/attachments/20150128/094025ef/attachment.html>
More information about the dancer-users
mailing list