Hi!

It's strange design decision.

If FOOR is ancestor for BAR, why can't you just place methods into FOO?



03.08.17 21:44, hw пишет:

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/


Reply via email to