in reply to CSV file

have you looked at Text::ParseWords or Text::CSV yet?