in reply to isa for ref?
Maybe because of
my $ref = bless sub {}, 'MyClass'; say ref($ref) eq 'CODE' ? 1 : 0; say UNIVERSAL::isa($ref, 'CODE') ? 1 : 0;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: isa for ref?
by LanX (Saint) on Jun 20, 2020 at 22:39 UTC |