Return-Path: Delivered-To: apmail-perl-modperl-archive@www.apache.org Received: (qmail 18211 invoked from network); 7 Jul 2005 12:20:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 7 Jul 2005 12:20:19 -0000 Received: (qmail 38941 invoked by uid 500); 7 Jul 2005 12:20:06 -0000 Delivered-To: apmail-perl-modperl-archive@perl.apache.org Received: (qmail 38927 invoked by uid 500); 7 Jul 2005 12:20:06 -0000 Mailing-List: contact modperl-help@perl.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list modperl@perl.apache.org Received: (qmail 38914 invoked by uid 99); 7 Jul 2005 12:20:06 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Jul 2005 05:20:06 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of tomAtLinux@gmx.at designates 213.165.64.20 as permitted sender) Received: from [213.165.64.20] (HELO mail.gmx.net) (213.165.64.20) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 07 Jul 2005 05:18:50 -0700 Received: (qmail invoked by alias); 07 Jul 2005 12:18:46 -0000 Received: from mail.bestsolution.at (EHLO [192.168.100.12]) [83.64.113.2] by mail.gmx.net (mp018) with SMTP; 07 Jul 2005 14:18:46 +0200 X-Authenticated: #6137719 Message-ID: <42CD1DA5.5010508@gmx.at> Date: Thu, 07 Jul 2005 14:18:45 +0200 From: Tom Schindl User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050322) X-Accept-Language: de-DE, de, en-us, en MIME-Version: 1.0 To: Niklas Saers CC: modperl@perl.apache.org Subject: Re: DBI problem References: <491ac4fb050706062421553e00@mail.gmail.com> <42CCD4C1.9030002@gmx.at> <491ac4fb0507070208474c522@mail.gmail.com> <42CCF7CB.3080502@gmx.at> <491ac4fb0507070433456a4bc7@mail.gmail.com> <42CD171D.10302@gmx.at> <491ac4fb050707050718941c41@mail.gmail.com> In-Reply-To: <491ac4fb050707050718941c41@mail.gmail.com> X-Enigmail-Version: 0.90.0.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N -----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-----