in reply to Converting CSV files to fixed width flat files

The Text::CSV module can help you parse the file. How to convert it might be pretty dependent on what you actually want to do and what you know about the data. Do you need to determine maximum field widths from the data? How do you want to pad short fields? Etc. etc.

If you need more help, an example might be in order.

-sauoq
"My two cents aren't worth a dime.";
  • Comment on Re: Converting CSV files to fixed width flat files