in reply to
Re: Using regex to extract keys
in thread
Using regex to extract keys
Since the hash is given to be large, one might prefer iterating over the hash using
each
in a
while
loop. In the loop, test whether the key matches /^\w$r$/. If not, do a
next
.
Abigail
Comment on
Re: Using regex to extract keys
In Section
Seekers of Perl Wisdom