in reply to Looking for appropriate Regex

Now you know how to avoid the problem :)(look around Parse CSV stream, be forgiving on bad lines ) Use Text::CSV or Text::xSV

Examples at

 [CSV hash ] CSV hash
Best way to match a hash with large CSV file
perl hash to CSV using Text::CSV_XS
Issue parsing CSV into hashes?
Veriable Length Array/Hash derived from CSV to populate an XML
extracting data from CSV files and making hash of hashes
Re^2: build hash from csv file
Encoding a hash in perl before saving it as a CSV file
hash from CSV-like structure
Read the csv file to a hash....
Parsing CSV into a hash
build hash from csv file
Converting a CSV list to a list of hashrefs naming the fields

merging csv files into a third file preserving column & row

Replies are listed 'Best First'.
Re^2: Looking for appropriate Regex (Text::CSV)
by better (Acolyte) on Apr 07, 2013 at 13:12 UTC

    Hello again, Anonymous Monk!

    Thanks a lot for your extensive response!

    I'm fighting not to get buried in this avalanche of wisdom ;-)

    Seriously, I appreciate your help, which seems to guide me through my whole project.

    I can find already hints in your list of links for the next step: parsing a CSV into a hash, which I will need for tagging the image files, I imported before (s. my node:

    Looking up elements of an array in another array!

    better