[Templates] Lists and rand like http://faq.perl.org/perlfaq4.html#How_do_I_select_a_ra

Perrin Harkins perrin@elem.com
Tue, 18 Jul 2006 15:16:29 -0400


On Tue, 2006-07-18 at 19:52 +0100, Gavin Henry wrote:
> Well, this is for Catalyst, so it's classed as View logic, so I kept it in
> the template.

Be that as it may, if you had written the logic in Perl, you would have
known how to do it without asking.  When you have to wonder how to do
something in TT, it's often a sign you should be doing it in perl.

- Perrin