Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs Date: Sat, 12 Apr 2003 10:31:58 -0400 (EDT) From: Igor Pechtchanski Reply-To: cygwin AT cygwin DOT com To: Dmitry Melekhov cc: "Gerrit P. Haase" , Subject: Re: Exim, .forward and DBD::Oracle In-Reply-To: <000901c300d8$aa69c420$141ea8c0@dm> Message-ID: Importance: Normal MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Sat, 12 Apr 2003, Dmitry Melekhov wrote: > ----- Original Message ----- > From: "Gerrit P. Haase" > To: "Dmitry Melekhov" > Sent: Saturday, April 12, 2003 10:43 AM > Subject: Re: Exim, .forward and DBD::Oracle > > > Hallo Dmitry, > > > > > Perl never ends.... > > [...] > > > > > This is script: > > > > > #!/usr/bin/perl > > > $ENV{ORACLE_HOME}='c:\oracle\ora81'; > > > > Shouldn't that be: > > $ENV{ORACLE_HOME}='/cygdrive/c/oracle/ora81'; > > This is very strange ;-) , but no! Ah, but shouldn't it be: $ENV{ORACLE_HOME}='c:\\oracle\\ora81'; Just a thought... Igor > > > system ("/usr/bin/env"); > > > use DBI; > > > $user = "tabel"; > > > $passwd = ""; > > > $host = "oracle.belkam.com"; > > > $sid = "TABEL"; > > > $dbh = DBI->connect("dbi:Oracle:host=$host;sid=$sid", $user, $passwd); > > > print "OK"; -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ pechtcha AT cs DOT nyu DOT edu ZZZzz /,`.-'`' -. ;-;;,_ igor AT watson DOT ibm DOT com |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Knowledge is an unending adventure at the edge of uncertainty. -- Leto II -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/