Take a look at perldoc perlform.
In reply to Re: Formatting Into Columns by ehdonhon in thread Formatting Into Columns by kevinw