in reply to Re: Template newbie question. Is it lack of understanding or lack of DWIM
in thread Template newbie question. Is it lack of understanding or lack of DWIM

You can make it a little less visually dense by changing it to something like the following (works in TT2 and CET):

[% IF section ; section|ucfirst ; ' - ' ; END %]


my @a=qw(random brilliant braindead); print $a[rand(@a)];
  • Comment on Re^2: Template newbie question. Is it lack of understanding or lack of DWIM
  • Download Code