Perl Monk, Perl Meditation | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
There is a common Un*x tool called column that can do this job, and if you're familiar with the Un*x directory listing command ls, then you're probably familiar with the multiple-column output that it produces.
I just looked at the C source code to this utility, and it's an ugly mess. Small and efficient, possibly, but not particularly literate. It looks like someone thought that a robo-indenting tool made code readable, because everything is indented consistently but there's nary a comment to explain how it works. This is something I thought I had seen on CPAN, but I guess Text::Table is a bit different in purpose. -- In reply to Re: Long array -> multiple columns?
by halley
|
|