in reply to Missing ref() return possibility?
It's good to remember that when ref() is given something that is not a reference to anything, it returns an empty string. (It never seems to return "undef", even when you give it nothing at all.)
In Section
Seekers of Perl Wisdom