in reply to Converting CSV files to fixed width flat files
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 ]
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: Converting CSV files to fixed width flat files
by Limbic~Region (Chancellor) on May 27, 2003 at 19:58 UTC | |
by graff (Chancellor) on May 28, 2003 at 01:55 UTC | |
by PodMaster (Abbot) on May 28, 2003 at 02:03 UTC |