"be consistent" | |
PerlMonks |
Re^6: Point me in the right direction with OO inheritance and static variablesby Amblikai (Scribe) |
on Sep 10, 2014 at 09:46 UTC ( [id://1100108]=note: print w/replies, xml ) | Need Help?? |
Thanks very much for all this, it's great info My program is coming along really well now. I found the hardest part isn't so much the coding but the architecture of the classes and when to inherit or just modify the existing class. As a learning experience it's been really good. I have one more "problem" though. I'd like to be able to make sure, that when the object is first created, the data it is created with is in the correct format. I think this is similar to Moose's 'isa' keyword after a bit of googling. But again, i'd like to do it in pure perl I've no problems writing the actual code, but my problem is where to put it? Any help or pointers? Thanks again!
In Section
Seekers of Perl Wisdom
|
|