Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Looking for appropriate Regex (Text::CSV)

by Anonymous Monk
on Apr 07, 2013 at 09:22 UTC ( #1027338=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1027338]
help
Chatterbox?
[karlgoethebier]: ...good Hot tuna. Note the stacks & racks in the background
[karlgoethebier]: ..the last hippies. They still perform. At least the survivors...
[Discipulus]: not survived
[Discipulus]: has pm some danish monk?
[Discipulus]: erix the problem was not rain in the brain.. ;=)

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (8)
As of 2017-11-17 20:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (272 votes). Check out past polls.

    Notices?