Perl Monk, Perl Meditation | |
PerlMonks |
Re: Behaving appropriately based on ref() resultby tirwhan (Abbot) |
on Jan 08, 2006 at 14:55 UTC ( [id://521824]=note: print w/replies, xml ) | Need Help?? |
You could also use the reftype function from Scalar::Util. This has the advantage of
for example:
There are ten types of people: those that understand binary and those that don't.
In Section
Seekers of Perl Wisdom
|
|