|Do you know where your variables are?|
Re^6: Is this DBM::Deep behavior, or something with tie/bless? (ref)by ysth (Canon)
|on Feb 12, 2008 at 16:09 UTC||Need Help??|
So just fix Data::Compare. The fixes would probably be quite simple. The best fix is to change such things to:Wouldn't that give a useless use warning? I would suggest this instead, which also works for CODE.It is fine to use ref as a Boolean test. Any other uses of ref I simply can't recommend.
Pre-perl 5.10, either has a problem with arrayrefs being able to be dereferenced as pseudo-hashes.