Thread Problem mit DBI seit neuem Active Perl (6 answers)
Opened by Gast at 2007-11-29 11:47

Gast Gast
 2007-11-29 11:47
#103246 #103246
Hallo,

kann mir vielleicht jemand helfen.
Ich habe das Active Perl 5.8.7 auf Windows XP neu installiert und seitdem funktionieren meine Perlscripte mit DBI nicht mehr.
Ich erhalte nur ein Fenster das auf einen Fehler mit dem Commandline Interpreter hinweist.
Im Debugmode komme ich bis an eine Stelle wo eine dynamische Library geladen werden soll. Leider gibt es da auch keine Fehlermeldung.

Hier DBI DB connect, wie ich ihn bisher verwendet habe:

#!D:\Perl\bin\perl.exe
use DBI;
use Time::localtime;
use Time::tm;
use File::DosGlob ();

.....

sub DBconnect
{
# Connect to the database (DBname,DBuser,PWD,DBTyp):
$dbh = DBI->connect("dbi:Oracle:$DB","$ORACLE_USERID",$ORACLE_PASSWORD, {AutoCommit => 0});
$stmt = $dbh->prepare("alter session set NLS_DATE_LANGUAGE='GERMAN'");
$rc = $stmt->execute();

..............

Ich habe Oracle 10.2.0 auf dem gleichen PC installiert.


Vielen Dank im voraus für eure Hilfe.

Gruß,
Wofler

View full thread Problem mit DBI seit neuem Active Perl