See Scalar::Util::blessed
In reply to Re: To be, or not to be, an object ? by Corion in thread To be, or not to be, an object ? by Bloodnok