Ok Michael...

then I am going to remove it

Thank you. 

-----Original Message-----
From: Michael A Chase [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 26, 2003 12:16 AM
To: Juan Arturo Veliz Carmona; [EMAIL PROTECTED]
Subject: Re: DBI->connect using 'old-style' syntax


On Mon, 25 Aug 2003 17:02:03 -0400 Juan Arturo Veliz Carmona
<[EMAIL PROTECTED]> wrote:

> Tim:

You should be writing to [EMAIL PROTECTED]  Writing directly to Tim
delayed
the initial response by about 9 hours.

> I corrected the problem in the script of the following form:
> 
> my $dbh = DBI->connect('dbi:Oracle:',
>          shift||'',
>          shift||'',
>          '',                      #I changed 'Oracle' for ''

As Tom told you, this should be _removed_ not replaced by ''.  If you
are going to use the fourth argument, it should be a hash reference,
as you give below.

>          {
>              RaiseError => 1,
> #             AutoCommit => 0,
>              ora_session_mode => ORA_SYSDBA
>          })
>   or die DBI->errstr;

The ORA_SYSDBA has no effect due to the extra '' in the argument list.
Fortunately, nothing in the original message requires ORA_SYSDBA
privileges.

-- 
Mac :})
** I usually forward private questions to the appropriate mail list. **
Ask Smarter: http://www.catb.org/~esr/faqs/smart-questions.html
Give a hobbit a fish and he eats fish for a day.
Give a hobbit a ring and he eats fish for an age.
"La informaci�n contenida en esta transmisi�n es confidencial, amparada por
secreto profesional y est� dirigida exclusivamente a �l o los destinatarios
indicados. Cualquier uso, reproducci�n, divulgaci�n o distribuci�n por otras
personas que su(s) destinatario(s) est� estrictamente prohibida. Si ha
recibido este correo por error, por favor, notif�quelo inmediatamente al
remitente por e-mail o telef�nicamente por cobro revertido al (56-2) 6616000
y b�rrelo de su sistema. Las opiniones expresadas en este correo son las de
su autor y no son necesariamente compartidas o apoyadas por la compa��a.
Telef�nica M�vil no asume obligaciones ni se responsabiliza del contenido de
este correo, a menos que dicha informaci�n sea confirmada por escrito por un
representante autorizado. No se garantiza que la transmisi�n de este correo
sea segura o libre de errores, podr�a haber sido viciada, perdida,
destruida, haber llegado tarde, de forma incompleta o contener virus.
The information contained in this transmission is confidential, subject to
professional secret and is intended only for the individual named. Any
review, dissemination, distribution or copying of this transmittal is
strictly prohibited. If you have received this e-mail in error, please
immediately notify the sender by return e-mail or by calling collect to
number (56-2) 6616000 and delete it from your system. The views expressed in
this e-mail are solely those of the author and may not necessarily be those
of, or supported by, the company. Telefonica M�vil neither assumes
obligations nor accepts liability for the content of this e-mail, unless
that information is subsequently confirmed in writing by a duly authorised
representative. E-mail transmission cannot be guaranteed to be secure or
error-free as information could be corrupted, lost, destroyed, arrive late
or incomplete, or contain viruses."  

Reply via email to