in reply to Re^3: isa() on any scalar
in thread isa() on any scalar
As I mentioned, if $value is not a valid invocant, it is an exceptional case.
I'm not aware of any other idiom that respects potentially-overridden isa() methods and handles potentially invalid invocants in one statement. If you know one, please share.
Scalar::Util's blessed() is pretty good, but that technique disallows calling isa() as a class method. Sometimes that's good. Sometimes it's not.
In Section
Seekers of Perl Wisdom