A couple of rather unrelated remarks.

In your constructor ->new you have the line

bless($self, 'AssocDB');
That is bad construction, it won't allow anyone to subclass AssocDB. You should bless into the class the constructor was called through:
bless($self, shift);

The term Associative Database, while suggestive, doesn't have an agreed-upon technical meaning (correct me if I'm wrong), so it would be necessary to add a minimum of documentation about the purpose and possible applications. As it is, the reader can pick up that such a beast has entities, predicates and relationships. You'd have to read the code to get an idea of how they interact to result in associations.

To enable anyone to pick up the project with some confidence you'd have to add some documentation that explains these points.

Anno


In reply to Re: Associative Database by Anno
in thread Associative Database by blockcipher

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.