http://qs1969.pair.com?node_id=217569


in reply to stringified references

Since a developer can override stringification this isn't safe in general I'm afraid.

Take a look at the blessed function in Scalar::Util. It does exactly what it says on the tin.