Thank you, Discipulus. I'll look into all the sources that you have suggested. Damian Conway's rules were particulary useful. And, yes, thank you for confirming that OOP is slower - I think by 30%. If I remember it correctly, the author Randal Schwartz had mentioned this piece of information in his book. However, it was in 2003 that he made this statement. I'm unsure how OOP behaves on present day computers assuming that the trend for computer performance is to improve each year. I have heard of Moose and Moo lately but I do not have any idea what they could actually do. I'll look into it as well. If you have the time, I'd appreciate it if you could share with me the author of Perl Cookbook. :)


In reply to Re^2: OOP's setter/getter method - is there a way to avoid them? by tiny_monk
in thread OOP's setter/getter method - is there a way to avoid them? by tiny_monk

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.