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).
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Text Columns
by TheDamian (Vicar) on Nov 28, 2006 at 23:02 UTC | |
Re: Text Columns
by Fletch (Bishop) on Nov 28, 2006 at 21:02 UTC | |
Re: Text Columns
by swampyankee (Parson) on Nov 28, 2006 at 22:19 UTC | |
by geoffeg (Acolyte) on Nov 28, 2006 at 22:29 UTC | |
by swampyankee (Parson) on Nov 28, 2006 at 22:39 UTC | |
by CountZero (Bishop) on Nov 28, 2006 at 22:35 UTC | |
Re: Text Columns
by traveler (Parson) on Nov 28, 2006 at 22:54 UTC | |
A reply falls below the community's threshold of quality. You may see it by logging in. |
Back to
Seekers of Perl Wisdom