See Text::CSV. Works well to read or write CSV (you usually can't just split on commas).
The perl builtin sprintf should be just fine for building fixed-width fields, or printf to build and print in one step.
--
[ e d @ h a l l e y . c c ]
In reply to Re: Converting CSV files to fixed width flat files
by halley
in thread Converting CSV files to fixed width flat files
by jkinchlow
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |