Looks like you want to use Text::CSV (or Text::CSV_XS). Maybe even in combination with Spreadsheet::Read.
In reply to Re: CSV Pattern Matching by Tux in thread CSV Pattern Matching by PerlNewbRP