Oh yes, the pure fun of objects and classes. I'm just wondering if anyone has any suggestions on what would be the best way to include modules into a class? Before you just try to answer, here is a couple of things to consider...
First, the parent class must be dependent uppon itself. This way, no modules have to be included for it to run.
Second, the modules have to be able to interact with the parent class. I would like to have them interact as if they were a part of it, but that doesn't seem to work.
Third, I have to be able to use the parent class variables from within the modules.
Now then, any suggestions I'm willing to listen to. I've tried quite a bit without any luck. I even tried the all faithful extends with no luck. Well, anyway, hope someone can give me a heads up. Thanks.
Modules and Class files.
Moderator: General Moderators