Re: Multiple values for a single key (Updated)by thanos1983 (Priest)
|on Aug 04, 2017 at 13:12 UTC||Need Help??|
Welcome to the Monastery. Your task is very very simple. There are plenty of modules for you to use have you tried any so far? Your problem can be resolved even without any modules simple file parsing.
Try and fail and try again as many times necessary until you succeed. This is the only way for you to learn. Show us where you failed and why you can not proceed and we will be more than happy to assist. Give it a try and update your question.
Update: In high lever description the steps that I would follow, open the file using the eof (*.csv), read line by line the file, split each line so you can retrieve individual elements (such as the name and the string), then simple push the data in a perldsc/HASHES OF ARRAYS and voila you are done. This is the way to proceed without using any module(s).
Update2: In case you want to proceed in using module(s) you can simply use Text::CSV.
Update3: Sample of *.csv file based on your description.
Looking forward to your update, BR.
Seeking for Perl wisdom...on the process of learning...not there...yet!