XML::SAXDriver::CSV Perl Module

CSV format used to be the format of choice for small information interchange tasks between two applications. Just insert the data with each field separated by a comma and send. Here is a small sample of a CSV file that contains accounts receivable information:

Account Num,Name,Address,Balance 
1,Mark Riehl,1600 Main Street,$39.95 
2,Ilya Sterin,1299 Pine Street,$29.95 

Note that each CSV record is on a separate line delimited by a newline. Usually (but not always), CSV files have a column title that appears on the first line of the file.

The receiving application just splits this data based on its delimiter, a comma, and proceeds to process this information. Several potential problems associated with using ...

Get XML and Perl now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.