http://qs321.pair.com?node_id=1222862


in reply to Re^5: Objects and passing/calling methods
in thread Objects and passing/calling methods

One can also determine the class using the ref function.

If the referenced object has been blessed into a package, then that package name is returned instead.