No such thing as a small change | |
PerlMonks |
Re^2: simplify sorting of multiple listsby december (Pilgrim) |
on Jul 20, 2004 at 17:20 UTC ( [id://376027]=note: print w/replies, xml ) | Need Help?? |
That's a good idea. I know the chosen variables aren't clean. The problem was indeed that all those lists used to be just one big list (with an extra hash pair per element pointing out the type), but the simple template syntax of HTML::Template required a boolean variable (I use each individual list) to test for whether or not to include the specific html block when the list is empty.
Ofcourse, I stupidly forgot that I can play a bit with the arguments to the template's function call, to just pass on the list, if I do it this way. edit: corrected myself
In Section
Seekers of Perl Wisdom
|
|