Hey,
I'm on a Windows machine using ActiveState.
I installed DBI 1.39 on to the machine and it said it was successful. Now in a script where I call DBI, it automatically seems to die.
Even when I take the "or die" part to "or print", it still dies.
When I try to execute from the command line, it says sytax ok and no problems with DBI or anything. (previously when I didn't have DBI installed, the perl interp would give me a error saying can't locate DBI.pm)
I even tried using the DBI->trace, and it still doesn't print a error message.
I also installed DBD:ODBC module incase that could be the problem.
Anyone have an idea on what my problem may be?
Anthony
---------------------------------
Hey thanks for the help. I got this working properly for anyone who might come across this issue, what I forgot was installing the DBD-mysql driver for DBI. :)
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.