If you have a copy of the Perl Cookbook (isbn:1565922433), it has a recipie in one of the earlier chapters (don't have it handy, and a search through the code isn't turning up anything immediately) for formating things in columns similar to the way ls does (given n columns of characters, show the items from @foo in the fewest number of columns of items).
In reply to Re: Printing an array in columns - improvements?
by Fletch
in thread Printing an array in columns - improvements?
by fireartist
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |