View Single Post
Old 10-22-2004, 07:03 AM   #1 (permalink)
philthee
Registered User
 
Join Date: Oct 2004
Posts: 15
philthee is on a distinguished road
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?
philthee is offline   Reply With Quote