in reply to Re: Re: Referencing methods
in thread Referencing methods
Luckily this turns out not to be the case. can returns a reference to the method you're looking forTrue ... kinda. It returns a reference to
Update: Elian rightly points out there isn't any difference between class and object methods, which I knew, but didn't write correctly in the node ('class method' ne 'sub in appropriate package'). Basically my point was that can returns a sub reference not a 'method' reference i.e you call it, and it implicitly makes the caller as the first arg in the arg list.
HTH
_________
broquaint
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Re: Referencing methods
by Elian (Parson) on May 08, 2003 at 17:15 UTC |