R
robb
Hi,
I found examples of coderefs to subroutines in Perl Objects, References
and Modules, chapter 6. It goes something like this:
# Assignment
$subroutine_ref = \&subroutine;
# Invocation
$subroutine_ref->( ... );
But what I need is to obtain a reference to an instance method in the
class in which I'm coding. Anybody know what the syntax would look
like?
Thanks,
Robb
I found examples of coderefs to subroutines in Perl Objects, References
and Modules, chapter 6. It goes something like this:
# Assignment
$subroutine_ref = \&subroutine;
# Invocation
$subroutine_ref->( ... );
But what I need is to obtain a reference to an instance method in the
class in which I'm coding. Anybody know what the syntax would look
like?
Thanks,
Robb