in reply to •Re: Re: •Re: Detecting function vs method in an AUTOLOAD?
in thread Detecting function vs method in an AUTOLOAD?

Even today, in Perl5, I'd write that as

$object->$meth($arg1,$arg2);

but it's clear that one or the other should be there, and not something ugly like

apply($object,$method,$arg1,$arg2);
or, assuming that can returned a bound method,
my $meth_ref = $object->can($method); apply($meth_ref,$arg1,$arg2);