XP is just a number | |
PerlMonks |
Re: Using a regex as a hash keyby halley (Prior) |
on Jun 06, 2007 at 16:47 UTC ( [id://619625]=note: print w/replies, xml ) | Need Help?? |
Either keep your original key $regex around,
or traverse the hash as usual: The check for this_is_the_key_I_want() is optional of course, or you could scan the regex itself as if it were a string, such as /Config/. --
In Section
Seekers of Perl Wisdom
|
|