![]() |
|
Your skill will accomplish what the force of many cannot |
|
PerlMonks |
creating unique list from elements in an arrayby rimmern (Acolyte) |
on Aug 17, 2001 at 12:31 UTC ( #105634=perlquestion: print w/replies, xml ) | Need Help?? |
rimmern has asked for the wisdom of the Perl Monks concerning the following question:
I have a file which contains lots of lines whose values are separated by | ie:
value 1|value 2|tom, chris, dave|value 4 what I want to do is find all the unique names in all the instances of value3 in the file (ie tom, chris, dave & peter). I know how to do it if the names are in an array but not if they are in an element in an array... Any suggestions ? Cheers, Digsy
Back to
Seekers of Perl Wisdom
|
|