You should almost certainly use Text::CSV to handle the CSV input and output.
In reply to Re: creating a ksh wrapper in perl by Anonymous Monk in thread pl c sv text format wrap by edrew04