|Problems? Is your data what you think it is?|
Template Toolkit foreach loopby Dr3am3rz (Initiate)
|on Mar 07, 2013 at 03:25 UTC||Need Help??|
Dr3am3rz has asked for the
wisdom of the Perl Monks concerning the following question:
I am currently using Template Toolkit and have never learn or use before TT. And now I'm really really stuck and have no clues at all.
For example, I have 10 files, 5 files dated year dd/mm/2011 and 5 files dated dd/mm/2012. I have tried using foreach loop to get the year of each files, after that I'm stuck.
What I need to achieve is to get the year of the files and using that to create a link to display those documents on that year.
Hope you guys understand. Please some kind souls out there help me out. =x Thanks in advance.