Next question to answer:

     Have you installed a DBD-Oracle module that would provide an Oracle 
driver for the DBI?



At 08:50 AM 6/24/2002 -0700, you wrote:
>German,
>
>Estoy apesadumbrado. No tengo ninguna experiencia con el perlcc.
>
>--Thunder
>
>dbi-users,
>
>TRANSLATION:
>
>"When I execute with Perl, I don't have any problems. When I do an
>executable with perlcc, at the moment I execute the archive, I get the
>message 'Can't locate object method connect via package DBI' "
>
>
>-----Original Message-----
>From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
>Sent: Monday, June 24, 2002 8:47 AM
>To: PARLEY,JON (HP-MountainView,ex1)
>Subject: RE: HELP ME !! Can't locate object method "connect" via package
>" DBI"
>Importance: High
>
>
>
>Cuando lo ejecuto con Perl no tengo problemas pero cuando hago un
>ejecutable con perlcc
>al momento de ejecutar el archivo me sale el mensaje Can't locate object
>method "connect" via package "     DBI"
>El codigo es super simple:
>
>Agradezco desde ya su ayuda.... es de vital importancia.
>
>#!/usr/local/bin/perl  -w
>use DBI;
>$dbh;
>$sth;
>{
>    $v_dbname   = $ENV{ORACLE_SID};
>    $v_userDB   = 'fa';
>    $v_passDB   = 'af1';
>    $v_dbd      = 'Oracle';
>
>#================= Conexión a BD ========================
>    $dbh=DBI->connect($v_dbname,$v_userDB,$v_passDB,$v_dbd) || die "Error de
>Conexión: $DBI::errstr. \n";
>    $sth=$dbh->prepare("
>                         select to_char(sysdate, 'dd/mm/yyyy hh24:mm:dd')
>from dual
>                       ");
>    $sth->execute;
>    @row=$sth->fetchrow_array;
>    print "La fecha del sistema es: $row[0]\n";
>}
>
>
>Muy atentamente,
>
>Germán Marambio Vargas
>
>-----Original Message-----
>From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
>Sent: Monday, June 24, 2002 8:24 AM
>To: [EMAIL PROTECTED]
>Subject: HELP ME !! Can't locate object method "connect" via package
>"DBI"
>
>
>Hi dears
>
>Excuseme, my english is very poor.
>My Name is Germán i live in Chile(South America), i have the following
>problem: "can't locate object method "connect" via package
>"DBI".
>If your have the solution....
>help me, please...!!!
>How can solution?
>
>Thanks a lot
>
>Muy atentamente,
>
>Germán Marambio Vargas

Reply via email to