Well, I'm not necessarily sure that's something we just have to "face". Perl may not have originally been built for object orientation, but its OO model is quite simple, powerful, and can be very useful.

Do you have any specific complaints about the OO model in Perl (other than it "getting tricky")?

I use Perl's OO model quite a lot, and I find it very useful and easy to use. I have no problems using it under mod_perl, either.

I think you should perhaps do a bit more reading up on the subject, try out some OO perl, and see what you think then. Here are some starting points:

Bless My Referents, by Damian Conway. You should also take a look at his book, Object Oriented Perl, which comes highly recommended. There are some sample chapters online.

perlboot; I don't know your level of familiarity w/ OO techniques, but this is Randal's alternate (as in alternate to perltoot) intro to OO programming in Perl.


In reply to Re: ooperl by btrott
in thread ooperl by rand

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • 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:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.