in reply to Printing in succesive columns...
If you want to avoid formats, the handiest way to get fixed width columns is with pack. Given $width and $cols,
While that may not be the print format you want, it illustrates how to control this loop in an index-free way.while (@data) { print pack( "A${width}" x $cols, splice @data, 0, $cols), $/; }
After Compline,
Zaxo
|
|---|