in reply to Re: DBI, Windows and Perl56.dll error
in thread DBI, Windows and Perl56.dll error

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.

Replies are listed 'Best First'.
Re: Re: Re: DBI, Windows and Perl56.dll error
by Jenda (Abbot) on May 15, 2003 at 18:22 UTC

    Maybe the module is up-to-date, but most likely it's for a different version of Perl. Run

    ppm remove DBD-mysql ppm install DBD-mysql

    BTW, how did you install it in the first place?

    Jenda
    Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live.
       -- Rick Osborne

    Edit by castaway: Closed small tag in signature