Re: invocant

2005-06-02 Thread Jeff 'japhy' Pinyan
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

Re: invocant

2005-06-02 Thread Wiggins d'Anconia
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

invocant

2005-06-02 Thread Matthew Sacks
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