laziness, impatience, and hubris | |
PerlMonks |
Re: Testing for hash key valueby djantzen (Priest) |
on May 26, 2003 at 02:28 UTC ( [id://260760]=note: print w/replies, xml ) | Need Help?? |
What you need is ref. For example:
That said, using ref for this sort of thing often means you need to do some refactoring. For further discussion, see Testing for existence of subroutine ref?.
"The dead do not recognize context" -- Kai, Lexx
In Section
Seekers of Perl Wisdom
|
|