My instinct before trying this would be to move the methods which FOO needs
back into FOO (removing them from BAR).

Is there a reason this won't work for you?

On Thu, Aug 3, 2017 at 7:44 PM, hw <h...@gc-24.de> wrote:

>
> Hi,
>
> suppose I have a class FOO and a class BAR.  The parent of BAR is FOO.
>
> I would like FOO to /use/ BAR because BAR has some methods needed by FOO.
> BAR is /decended/ from FOO because FOO has many methods needed by BAR.
>
> Is this possible, or does it lead to some endless recursion when compiling?
>
> --
> To unsubscribe, e-mail: beginners-unsubscr...@perl.org
> For additional commands, e-mail: beginners-h...@perl.org
> http://learn.perl.org/
>
>
>


-- 
Andrew Solomon

Mentor@Geekuni http://geekuni.com/
http://www.linkedin.com/in/asolomon

Reply via email to