Perl Monk, Perl Meditation | |
PerlMonks |
Re^4: Using Template::Toolkit with Excel filesby llarochelle (Beadle) |
on Dec 07, 2018 at 15:40 UTC ( [id://1226898]=note: print w/replies, xml ) | Need Help?? |
Hello Aldebaran, I finally got something neat that addresses 2 requirements : being able to access the XML and creating the XLS file for rendering to the user. I'll share a piece of code below, which might answer your question about file/filename in the New() method. I'm using 2 modules to achieve my objectives. Template & Excel::Template. I use the Template Toolkit to generate the required XML so that Excel::Template can produce the XLS. So my whole config generator engine benefits from TT and when I need an XLS file it's being treated separately.
Hope this helps ! Luc
In Section
Seekers of Perl Wisdom
|
|