OK, thanks v. much for the answers which hit the nail on the head, I think. If only I knew what all the modules did, I'm sure I would write half the code I currently do... Incidentally, I use MySQL.
Anyway, I have tried for about an hour to install Class-DBI-MySQL. PPM3, CPAN, CPANPLUS and finally tried to nmake it manually. Failed - I am on win32; perhaps that's why.
Then I tried Class-DBI-Loader which the documentation says works with MySQL. This instlled with PPM3 immediately.
So Q1, why has someone written Class-DBI-Mysql when Class-DBI-Loader exists and seems to do the same thing?
Q2, if they both do the same thing, is one better than the other?
Q3, I do try to read and understand this stuff before troubling other monks with questions but in doing this for these modules, I noticed Class-DBI-Loader-MySQL. The documentation for this is cryptic and so I am entirely clueless as to it's purpose. Do I need this with Class-DBI-Loader in order to work with MySQL? Or is it a standalone thing i.e. a third alternative for me to use? And if it's a third alternative, which is the best of the 3 modules to use?
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: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.