Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

BillR (6098)

  (email not shown publicly)
+ -

  Comment: Brilliant (Score 1) on 2009.12.13 10:13

Just a brilliant project. I'm in awe.
Read More 1 comments
Comments: 1
+ -

  Comment: If statement (Score 1) on 2009.12.06 22:34

by BillR on 2009.12.06 22:34 (#71331)
Attached to: Template::Tiny 0.01 - Request for features
I don't like logic in templates, but I will set a flag in the stash and allow the template to control the presentation. For example, assume it is hard to figure out if something is "pending". After lots of hard work the program figures it out and sets $stash{pending}=1. Then the template simply has [% IF pending %]Item is pending![% END %] or whatever.
Read More 10 comments
Comments: 10