>>>>> "Thomas" == Thomas Bätzler <t.baetz...@bringe.com> 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
<mer...@stonehenge.com> <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: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to