in reply to Re: Understanding what Inheriting is.
in thread Understanding what Inheriting is.

Why do you use SUPER:: in your calls to stock_footage methods of flip_jeep and distraction?

Since ordinance @ISA = qw(stock_footage); couldn't you use

$this->flip_jeep()

instead of
my $class = ref($this) || $this; $class->SUPER::flip_jeep();

What am I missing about your example?

Replies are listed 'Best First'.
Re: Re: Re: Understanding what Inheriting is.
by toma (Vicar) on Aug 14, 2001 at 06:08 UTC
    I tried your suggestion and got an infinite loop. I pulled many grenade pins!

    It should work perfectly the first time! - toma