On 28.05.2017 14:19, Joel Berger wrote: [about largish Perl code sections in the template] > That said, I've only very rarely needed to do that. I'd highly suggest > moving that code to a helper or a controller method.
As I share iaw's reservations against having display-oriented code in the controller, I use helper methods in a plugin myself when the code gets larger. Feels about right. Also, this way the moethods are available for different templates. Regards, Jürgen. -- Jürgen Nickelsen <[email protected]> Freie Universität Berlin, ZEDAT/FUDIS https://zedat.fu-berlin.de/FUDIS Jabber [email protected]; Tel +49.30.838-50740 Fax -450740 -- You received this message because you are subscribed to the Google Groups "Mojolicious" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/mojolicious. For more options, visit https://groups.google.com/d/optout.
