Don't ask to ask, just ask | |
PerlMonks |
Multiple values for a single keyby Ammu007 (Initiate) |
on Aug 04, 2017 at 13:06 UTC ( [id://1196722]=perlquestion: print w/replies, xml ) | Need Help?? |
Ammu007 has asked for the wisdom of the Perl Monks concerning the following question:
Hi
i have a .csv file where i have the following values
Anand,1,2,3,4,xyz
Anand,2,3,4,5,wer
Anand,3,4,4,4,ert
seetha,1,2,3,4,rew
Anand,2,2,2,2,tre
i need to parse through these rows and for single value of Anand i need to map the last coloumn values
like
Anand xyz
wer
ert
tre
can i use hashmap to store this value,if so how?single key and different values....please help
Back to
Seekers of Perl Wisdom
|
|