On Feb 8, 2004, at 6:51 AM, Randy W. Sims wrote:

Hmm, I think a good exercise would be to write code snippets to demonstrate the differences between the four method calls:

Package::method()

Is this really a "method call"? I think of it as a package qualified subroutine call.


$class->method()
$class->Package::method()
$class->SUPER::method()

This one should only be used inside an overriden method, I think.


or five if you count:

method Package ...

Let's not. <laughs>


James


-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>




Reply via email to