in reply to Re: Do not use UNIVERSAL::isa this way; but why?
in thread Do not use UNIVERSAL::isa this way; but why?

*narg*
Typo respectively wrong. I won't use
$is_my_class = defined($object) && $object->isa('My::Class');
because if $object is defined but not blessed...

I'll use
$is_my_class = eval { $fd->isa('My::Class') };
although normally (and I don't know why) I try to avoid 'eval'.
And although I'm not sure if I like this statement.
k