CSV::Simple

Filed Under Perl | Leave a Comment

my @fields = split /,(?(?{$x&1})(?!))|”(?{++$x})(?!)/, $csv
The joys of state-machine regexes.