in reply to A question of inheritance

Inheritance works only for method calls, not subroutine calls. You're not doing a method call there.

-- Randal L. Schwartz, Perl hacker