Thank you for your reply.
I did try this before and I have run a test of DBI to see if it works. I forgot to emntion this. First here is the output from DOS that I received when doing the above code just to try again.
C:\Perl>ppm install dbd-mysql
Version 2.1026 of 'DBD-mysql' is already installed.
Remove it, or use 'verify --upgrade DBD-mysql'.
C:\Perl>ppm verify --upgrade DBD-mysql
Package 'DBD-mysql' is up to date.
This is the extremely simple PERL program I used to test CGI and DBI taken from the so far good book "MySQL and PERL for the Web."
#! /usr/bin/perl
# intro2.pl - verify availability of CGI.pm and DBI modules
use CGI;
use DBI;
$cgi = new CGI;
print "The CGI object was created sauccesfully.\n";
@driver_names = DBI->available_drivers();
print "These DBI drivers are available: @driver_names\n";
exit(0);
This runs just fine and dumps the output of all the drivers I am running.
C:\Apache2\perl_dev>perl intro2.pl
The CGI object was created sauccesfully.
These DBI drivers are available: CSV ExampleP File ODBC Oracle Proxy S
+QLite mysql
Hopefully this will help to clarify a little bit more.
Again, thank you for all the kind help.
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.