|
Do Multidimensional arrays work like a hash in Perl?
Perhaps can they? would be better
Say i have a file
One 232
Two 323
Three 555
One 231
can they work so as to have my code read in each line as a key and value pair, and then i can catch any instances of a key appearing twice (in this case 'One') and do something with it?
|