[dancer-users] How do I call a script from a template?

John J. McDermott, CPLP jjm at jkintl.com
Fri May 1 15:43:45 BST 2015

I had not seen that plugin for some reason. Thanks, Andy. Dancer is far
more versatile that I had thought.


On 5/1/2015 1:25 AM, Andrew Beverley wrote:
> You can make the Dancer route return whatever you want, be it JSON,
> HTML or anything else. Normally one uses the "template" keyword to
> return a full HTML page, but you could return anything else and can
> also set the various headers accordingly. You might like to have a
> look at Dancer(2)::Plugin::Ajax, which should make some of that a bit
> simpler.

John J. McDermott, CPLP
Learning and Performance Consultant
jjm at jkintl.com 575/737-8556
Check out my security blog posts <http://cybersecurity.learningtree.com>
Add an A for the Arts To STEM and get STEAM and a strong engine to move
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.preshweb.co.uk/pipermail/dancer-users/attachments/20150501/50255c10/attachment.html>

More information about the dancer-users mailing list