thanks for the great suggestions. unfortunately, you've brought on *more* questions! :-)

I think the idea of using a tied hash is very elegant; the problem is that, though I've read the manpage you've linked to, and also the Tied Variables chapter in my Camel-3rdEd book, my brain is in a total fog. Perhaps my problem is that I still don't really understand the object-oriented universe (no matter how hard I've tried!), and all of the examples in the manpage/book use OO syntax (which I've avoided.)

Is it possible to implement the tied variable in my module without getting into the OO realm, or am I missing the point? (the point being that tied variables are fundamentally part of OO perl syntax.)

Thanks again for the help; anything I can do to make this code better, I'm open to. Just not sure that my little brains is up for the task.

In reply to Re: Re: please review my first module by blueflashlight
in thread please review my first module by blueflashlight

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.