I agree with btrott. (Me too! *grin*)
Perl handles object oriented programming very well. I have
done several successful projects using OO perl. In fact, perl handles
every major OO feature that you could possibly need.
OO and mod_perl work fine. Follow the basic rules for
function building that you normally would use in mod perl
and you will be fine.
The only real thing "OO" thing that perl doesn't do is
information hiding. Perl like information to be there (in the form of hash keys usually), so any
information hiding that you do "need" to do will be through the
documentation. As long as you have programmed something in
an encapsulated manner and document it correctly, if someone
uses your class in a manner not specified by documentation, they
will suffer the consiquences (version issues, strange behavior).
Other than that, perl is wonderful and very free object oriented
language.
Try out some oo programming in perl... you will find it to your liking.
---
Crulx
crulx@iaxs.net
In reply to Re: ooperl
by Crulx
in thread ooperl
by rand
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.