Simplest way to match 2d array of keys/strings to search in perl?
Posted
by Ben Dauphinee
on Stack Overflow
See other posts from Stack Overflow
or by Ben Dauphinee
Published on 2010-06-13T13:26:34Z
Indexed on
2010/06/13
13:32 UTC
Read the original article
Hit count: 244
Related to my previous question (found here), I want to be able to implement the answers given with a 2 dimensional array, instead of one dimensional.
Reference Array
row[1][0]: 13, row[1][1]: Sony
row[0][0]: 19, row[0][1]: Canon
row[2][0]: 25, row[2][1]: HP
Search String: Sony's Cyber-shot DSC-S600
End Result: 13
© Stack Overflow or respective owner