Am I missing something, or is there really no easy way to tell if $foo is blessed other than the unwieldy
and without falling afoul of trying to call $obj->isa where $obj might be unblessed?$is_blessed = ref $obj && UNIVERSAL::isa($obj, 'UNIVERSAL');
In reply to is_object_blessed($foo) by moot
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |