Now before you reach for the "my OO response", -- this post on principle that it's sounds like I don't like Perl, or you just get plain bored of this ramble (sic). If someone asked me about Objects in Perl, I'd enthuse but I'm not sure I'd be recommending Perl Object Oriented Coding. So what is your handle on Perl Objects, do you have one way of using them, or do you hack scripts using a tie somedays and develop reusable software the next.
I've being delving into Perl Objects for a while and it's been a real eye-opener. Perl isn't built to do objects the way other languages do. ( I knew it already but the devil is in the detail )
I'm not judging which language is best, it'd be pointless:
Ok, the bones of the matter, I like Perl and I like the concept of Object Orientation in it's pristine state. I'm beginning to appreciate that Perl has an irreverant view of OO (as it has to most things ;) so this means Perl OO can be coded well, which'll probably involve creating some reflective code, or perhaps just good OO principles, it also means (to me, at least) that Perl has a superset of OO uses, leaning on it's easy attitude to OO and quirky extras.
What I want to discover is: how to do good OO in the Perl idiom (I'm going to say TIMTOADI1, so you can't! :^) preferably by following good examples (got any of your own, or can you recommend a good module, so I can read the source?) and how to abuse OO more than I do for my own amusement and my increased productivity. (program performance is rarely an issue for me :o)
1) I want to see different examples of peoples code to understand how, folks restrain Perl to the OO principles, ( or not as the case may be ;0)
--Brother Frankus.
In reply to Perl and Objects, how do you resolve the two? by frankus
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |