You can print ref($object), "\n"; to see what it actually is.
In reply to Re: unblessed reference by moritz in thread unblessed reference by carterniall