Do you know where your variables are? | |
PerlMonks |
Re^7: Is this DBM::Deep behavior, or something with tie/bless? (ref)by tye (Sage) |
on Feb 12, 2008 at 16:50 UTC ( [id://667612]=note: print w/replies, xml ) | Need Help?? |
Yes, I have an open bug against Data::Diver for issuing warnings about pseudo-hashes due to this. You are right about the other warnings as well. Unfortunately, your alternative has other problems:
In the case of CODE ref testing, there is a different problem:
Of course, in some situations, one could consider the latter a feature. But mostly I think it would be unwanted. It is very sad that Perl still doesn't provide decent tools for determine the data type(s) of a reference. It is no wonder nobody gets this right. - tye
In Section
Seekers of Perl Wisdom
|
|