>>>>> "Thomas" == Thomas Bätzler <[email protected]> writes:

Thomas> Now $class is 'Dormouse', but the current package is 'Mouse' and the
Thomas> explanation from perlboot makes sense: $class->SUPER::speak() invokes
Thomas> Animal::speak() and not Mouse::speak().

Exactly, because if it didn't, it'd be an infinite loop. :)

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<[email protected]> <URL:http://www.stonehenge.com/merlyn/>
Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
See http://methodsandmessages.vox.com/ for Smalltalk and Seaside discussion

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
http://learn.perl.org/


Reply via email to