reaper9187 has asked for the wisdom of the Perl Monks concerning the following question:
so in above case, i want to enter column 1 first then column 2 nd so on .use Text::Table; my $tb = Text::Table->new( "Planet", "Radius\nkm", "Density\ng/cm^3" ); $tb->load( [ "Mercury", 2360, 3.7 ], [ "Venus", 6110, 5.1 ], [ "Earth", 6378, 5.52 ], [ "Jupiter", 71030, 1.3 ], ); print $tb;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Column wise entry in text table
by Cristoforo (Curate) on Jan 20, 2013 at 18:18 UTC | |
|
Re: Column wise entry in text table
by mhearse (Chaplain) on Jan 21, 2013 at 20:36 UTC | |
by mhearse (Chaplain) on Jan 21, 2013 at 22:07 UTC |