in reply to Printing an array in columns - improvements?
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).
|
|---|