good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Text Columnsby geoffeg (Acolyte) |
on Nov 28, 2006 at 20:53 UTC ( [id://586569]=perlquestion: print w/replies, xml ) | Need Help?? |
geoffeg has asked for the wisdom of the Perl Monks concerning the following question:
I'm looking for a perl module to take a hash and format it suchly (this is sample data, don't be literal):
Monday: 45 Tuesday: 09 Wednesday: 12 Thursday: 98 Friday: 12 Saturday: 42 Sunday: 55Basically the idea is to take a list of data and, based on the current terminal's width, print that list in as many columns as will fit nicely (with some padding) on the screen. Any suggestions for a module to use? Text::Table only seem to handle one column nicely (it's meant for tables, not columns).
Back to
Seekers of Perl Wisdom
|
|