Just that you should be really sure that that's what you want to do.
And when would it be what you want to do? No, ->isa is always the way to go. Feel free to wrap it in an eval if you need.
my $isa = eval { $questionable->isa($class) };
In reply to Re^2: Do not use UNIVERSAL::isa this way; but why?
by ikegami
in thread Do not use UNIVERSAL::isa this way; but why?
by klekker
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |