All this tells me one thing: Perl does not support abstract method natively, and that's why you are introducing this junky.
Well, it does not, really. So what? I'm not addicted to OOP and I don't believe it is the solution for everything. Said so, I really don't care if Perl is not 100% OO.
But I still like to code with Perl and I think that the OO implementation is good enough for my needs (well, almost). Is it wrong to try to make things better? I would be pleased to see some better proposal from you (whoever you are anyway, you didn't even bother to identify yourself) instead of some useless procrastination.
Perl 5.8.8 does not have any feature that helps in this case? Thanks for telling me that, because that is the version I'm using.
Alceu Rodrigues de Freitas Junior
---------------------------------
"You have enemies? Good. That means you've stood up for something, sometime in your life." - Sir Winston Churchill
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.