in reply to Re^4: Loading values into template using Perl and Mojolicious::Lite
in thread Loading values into template using Perl and Mojolicious::Lite

I don't think that the stash will be included if you render JSON data.

Put all your data into $data.

Note that I don't use Mojolicious much, so I can only guess and read the documentation.

  • Comment on Re^5: Loading values into template using Perl and Mojolicious::Lite
  • Download Code

Replies are listed 'Best First'.
Re^6: Loading values into template using Perl and Mojolicious::Lite
by Anonymous Monk on Mar 31, 2017 at 19:14 UTC
    I know, it wont, unless I included like you mentioned. But if I do I have to read into the template using jquery. I was wondering if it could be a two separated thing.