When I said ease, I should've said "ease of laziness" or "ease of not bothering". Personally, I hate using hashes as OO representations, at least directly. I don't want to think about how my object is represented in memory. Not using an OO-rep module forces me to do my own representation management. To me, that's very un-Perlish.

I guess the sarcasm didn't come through in my first post. I apologize for any misunderstanding.

Yes, the all-objects-in-array in the Panther book sucks with serialization. (The fix is actually relatively simple.)

The other issue, however, is a straw man. You don't worry about the code required to maintain a CGI::Application or a DBI connection, do you? A well-tested CPAN module means you don't have to maintain the code. In fact, you don't know or care what code is required to do something, so long as it does it.

------
We are the carpenters and bricklayers of the Information Age.

Don't go borrowing trouble. For programmers, this means Worry only about what you need to implement.


In reply to Re4: What is a "stash"? by dragonchild
in thread What is a "stash"? by John M. Dlugosz

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.