aptom has asked for the wisdom of the Perl Monks concerning the following question:
Then I would iterate over the hash.[% FOREACH row = query.execute() %] if(exists $hash{[% row.ITEMS %]}{ [% row.TYPE %] }){ $hash{ [% row.ITEMS %]}{[% row.TYPE %]}++; } else{ $hash{ [% row.ITEMS %]}{[% row.TYPE %]} = 1; [% END %]
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Postprocess Template Toolkit DBI Call
by sierpinski (Chaplain) on Aug 05, 2010 at 13:59 UTC | |
by aptom (Novice) on Aug 06, 2010 at 00:00 UTC | |
by aptom (Novice) on Aug 10, 2010 at 05:37 UTC |