Have a look at ref
In reply to Re: How to tell if a variable is blessed ? by wfsp in thread How to tell if a variable is blessed ? by jeanluca