Sponsoring The Perl Toolchain Summit 2025: Help make this important event another success Learn more

use strict;
our $VERSION = '1.66';
use Scalar::Util ();
## no critic (Subroutines::ProhibitBuiltinHomonyms)
sub can {
my $object = shift;
my $method = shift;
return unless Scalar::Util::blessed($object);
return $object->can($method);
}
sub isa {
my $object = shift;
my $method = shift;
return unless Scalar::Util::blessed($object);
return $object->isa($method);
}
1;