I have a hash of following pattern
my %hash_table(
23 => someintegertype,
type => somestringtype,
12_someidentifier => someveryproblematictype
);
How do I check if pattern that 12_someidentifier
key follows exists in the hash or not? If so, I need to know the value in the form of true
or false
.
::UPDATE::
I wanted to check if the regex or pattern such as {[\d]_[\w+]}
exists or not?