Perl Monk, Perl Meditation | |
PerlMonks |
Re: Template::Toolkit and Text::Tableby Marshall (Canon) |
on Feb 06, 2020 at 10:11 UTC ( [id://11112484]=note: print w/replies, xml ) | Need Help?? |
Perl has a built in formatter..see https://perldoc.perl.org/perlform.html I think you will find that it is more hassle than it is worth. I find that printf works a lot better. 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. Even if your email looks nice as you send it, the user's email program probably won't display it like you intended. Sounds like some kind of HTML doc will work better. Or perhaps a .pdf file?
In Section
Seekers of Perl Wisdom
|
|