in reply to
what would you like to see in perl5.12?
Another late addition from a previous idea: bring some functionality from Scalar::Util into core ref by having the latter return, in list context, respectively: REF, ADDR, BLESSED, where
- REF would be ref()'s current output if the reference is not blessed, and if it is then the same as if it were not,
- ADDR the same as refaddr()'s and
- BLESSED the package the reference is blessed in, if it is, or undef otherwise.