Previously on Law & Order: Re^3: Design Question - I've gone object mad!.

You seem to be saying the tools out there are beyond your ability to use so you'll write new tools. There is some cognitive dissonance going on in there. One small example: you mention detecting primary keys being auto increment. What about multiple column keys? Already, out of the gate, the problem is much harder than it was a second ago and not because the requirements changed but because your awareness of the requirements changed.

You could probably cobble together something useful for you own particular problem but it certainly won't be as good as what's out there already. If your goal is to learn more about code development and design, go for it. If your goal is to get work done and sharpen your employability, get thee to a CPAN node.

Some of the available tools are indeed quite difficult to learn, like DBIx::Class but that's only because they do so much and have considered, tested, vetted so much.

As you mentioned, SQL::Abstract is nice and its a good gateway to DBIC if you end up wanting more. It can't do auto-discovery like DBIC but it's certainly easier to master.


In reply to Re: perl code generators by Your Mother
in thread perl code generators by Anonymous 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.