Hi All,

I am trying to find the array elements in hash, if it matches then print
the hash value. Please help me to achieve this.

Note: array elements matches the first 2 characters of the hash keys.


@match = ("6c7b00", "6d7b00", "6d9d8f", "6c6863", "6e6632");


%abc = ('6c' => device1, '6d'=>device5, '6e'=>device3, '6g'=>device9);


Appreciate your help with this.

Thanks
Sj

Reply via email to