in reply to Re: •Re: Detecting function vs method in an AUTOLOAD?
in thread Detecting function vs method in an AUTOLOAD?
For example, this should still work, somehow:
my $meth = $object->can("foo"); $meth->($object, $arg1, $arg2); # simulate $object->foo($arg1, $arg2);
-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: •Re: Re: •Re: Detecting function vs method in an AUTOLOAD?
by TimToady (Parson) on Apr 12, 2004 at 19:55 UTC | |
|
Re: •Re: Re: •Re: Detecting function vs method in an AUTOLOAD?
by Corion (Patriarch) on Apr 12, 2004 at 19:25 UTC |