One thing that was not mentioned in the answers you've already had, is that once you've implemented the DBI/DBD interface, it is normally very easy to change what underlying database engine your application will use. If you're able to avoid any database calls that are specific to a certain database and only use the 'smallest common denominator' you may be able to change the underlying database by changing one single line in your Perl code.

You will, of couse, OTOH have to install the new database engine, but that's out of scope for your Perl application. And this is exactly my point. Using DBI/DBD, and taking care not to call any 'obscure' database functionality, you may make your application almost 100% unaware of what database you're using.

Which is a Good Thing (TM used with permission).

f--k the world!!!!
/dev/world has reached maximal mount count, check forced.


In reply to Re: interfacing between perl and a database by Biker
in thread interfacing between perl and a database by Baz

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.