perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tom Schindl <tomAtLi...@gmx.at>
Subject Re: DBI problem
Date Thu, 07 Jul 2005 12:18:45 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Niklas Saers schrieb:
> Hi again, Tom,
> no problem running it as a CGI:
> 
> Include: /usr/local/lib/perl5/site_perl/5.8.7/mach;/usr/local/lib/perl5/site_perl/5.8.7;/usr/local/lib/perl5/site_perl;/usr/local/lib/perl5/5.8.7/BSDPAN;/usr/local/lib/perl5/5.8.7/mach;/usr/local/lib/perl5/5.8.7;.
> Loaded Libs: warnings/register.pm;Carp.pm;Exporter/Heavy.pm;strict.pm;vars.pm;Exporter.pm;warnings.pm;DBI.pm;AutoLoader.pm;BSDPAN/Override.pm;Config.pm;DynaLoader.pm;BSDPAN.pm
> 1.48

And here we are: no Bundle any more and the real DBI is loaded ;-) Take
a look where your include-path is modified.

To give it a fast shot you could modify the script like this:

- --------------------8<--------------------
BEGIN {
   unshift @INC, "/usr/local/lib/perl5/5.8.7/mach";
}

use DBI;
....
- --------------------8<--------------------


Tom
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCzR2lkVPeOFLgZFIRAvoVAKCftVMBu5xyXXghGtn2J0iXIeUZ3gCgtTvx
5WqRHWDW0Z8mN0z4iW7rCyw=
=eKVV
-----END PGP SIGNATURE-----

Mime
View raw message