Assume we have a 2D hash.
set a(1,x) abc
set a(2,x) def
Now I want to know if 'x' exists in both. I can do :
info exists a(1,x) && info exists a(2,x)
I can put this into a loop but that starts to look clunky.
Is there a way to wildcard ? This naive idea obviously doesn't work.
info exists a(*,x)
Any solution?