>>>>> "Martijn" == Martijn Lievaart <> writes:
Martijn> Better written as:
Martijn> $self->kick();
Martijn> although if kick() does not exist, the former fails at compile time while
Martijn> the latter fails at run time.
And if kick doesn't know what to do with an object of the type that
$self is, it'll have to check that itself unless it's a method call.
--
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<> <URL:http://www.stonehenge.com/merlyn/>
Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
See
http://methodsandmessages.posterous.com/ for Smalltalk discussion