On Jun 2, Matthew Sacks said:
When you invoke a method, the first argument to the method equal to the
method's invocant is automatically inserted.
That sounds about right. The first argument to a method is either a class
name or the object, depending on whether it's a class me
Matthew Sacks wrote:
>
> Greetings:
>
> When you invoke a method, the first argument to the method equal to the
> method's invocant is automatically inserted.
>
Correct.
> i) Is this essentially the same as a C++ "this" pointer?
>
Yes, the Perl idiom g
Greetings:
When you invoke a method, the first argument to the method equal to the
method's invocant is automatically inserted.
i) Is this essentially the same as a C++ "this" pointer?
ii) Apparently, the first argument can be a reference to its object, or the
object.
i