in reply to Re: Template::Toolkit and Text::Table
in thread Template::Toolkit and Text::Table
Perl has a built in formatter..see https://perldoc.perl.org/perlform.html
But for this I would need to know the data upfront. I want the table to be built according to the data. In spite of my examle the data of course, comes from a database and the column widths haveto adjust. That's what Text::Table does.
I also think that you will find that an email with the assumption that the user is using a fixed width font won't work well.
I know. An HTML alternative is sent as well.
s$$([},&%#}/&/]+}%&{})*;#$&&s&&$^X.($'^"%]=\&(|?*{%
+.+=%;.#_}\&"^"-+%*).}%:##%}={~=~:.")&e&&s""`$''`"e
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Template::Toolkit and Text::Table
by Marshall (Canon) on Feb 08, 2020 at 05:16 UTC |
In Section
Seekers of Perl Wisdom