Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
HTML::Template create tableby GertMT (Hermit) |
on Nov 17, 2007 at 19:49 UTC ( [id://651443]=perlquestion: print w/replies, xml ) | Need Help?? |
GertMT has asked for the wisdom of the Perl Monks concerning the following question:
Dear Monks, I'm struggling once more with HTML::Template. As an example I provide a tiny csv-file that I use as a database. I currently use Data::Table (...for all kind of shuffling that's not mentioned here...) but the HTML output that comes from the script that is shown below (SelectDataScript) is not really what I want. If I would like to use HTML::Template I understand I need to feed the data into an array of hashes but currently I'm getting nowhere. Guess my template (see below 'template_whthr.tmpl') should work but can't I use the $table object that was generated in some way? I'm grateful for any clues. Gert
wheather.csv
SelectDataScript template_whthr.tmpl
Back to
Seekers of Perl Wisdom
|
|