So, all this continuing problem I was having with CGI.pm of the 
following kind...

> Subroutine ??? redefined in CGI.pm at line ???

seems like CGI.pm and mod_perl can't work together. Man, I wish I had 
figured that out earlier. According to Doug MacEachern...


> Lincoln's CGI.pm does not work under mod_perl, at least it did not
> last time we checked....


Oh well.

Now I am onto another problem. My DBD::mysql refuses to do anything with 
the databases on my computer. It just runs and quits silently... no 
errors, nothing, even for a simple test like so...

> #!/usr/bin/perl -w
>
> use diagnostics;
> use DBI;
> use strict;
>
>
> my $host = "localhost";
> my $port = 3306;
>
> my $drh = DBI->install_driver("mysql");
> my @databases = $drh->func($host, $port, '_ListDBs');
>
> print "$_\n" foreach (@databases);


needless to say, this very same script was working fine on the same 
computer.

Any guidance will be much appreciated.

pk/

Reply via email to