nandymamith has asked for the wisdom of the Perl Monks concerning the following question:

This node falls below the community's minimum standard of quality and will not be displayed.

Replies are listed 'Best First'.
Re: Perl Object Oriented Exercise
by AppleFritter (Vicar) on Jul 04, 2014 at 10:41 UTC

    I take it you want to know how multiple inheritance in Perl works, i.e. how method resolution is done? Quoting the 3rd edition of Programming Perl (p. 322):

    1. Next, Perl checks for methods inherited from base classes by looking in all parent packages listed in @classname::ISA for a parent::methname subroutine. The search is left-to-right, recursive, and depth-first. The recursion assures that grandparent classes, great-grandparent classes, great-great-grandparent classes, and so on, are all searched.
    2. [...]

    Emphasis mine. perlobj also has more on multiple inheritance.

      See also the mro pragma.

Re: Perl Object Oriented Exercise
by dsheroh (Monsignor) on Jul 04, 2014 at 11:58 UTC
    "Answer"? What's the question?
Re: Perl Object Oriented Exercise
by hippo (Archbishop) on Jul 04, 2014 at 10:30 UTC

    "B1" is the answer such as it is.