I have a strange problem when connecting to an Oracle 10 database:
#!/usr/bin/perl
use strict;
use warnings;
use DBI;
my $rc = system true;
print Before: $rc\n;
my $dbh = DBI-connect(dbi:Oracle:, scott, tiger);
$rc = system true;
print After: $rc\n;
$SIG{CHLD} = 'DEFAULT';
$rc = system
Oh, the joys of Oracle. Add require DBD::Oracle; to check if it's
a load-time or connect-time issue. Print $!. Use process tracing
tools (like truss, ktrace etc) to see what's happening. Let us know
what you find. Have the appropriate amount of fun!
Tim.
On Tue, Jan 25, 2005 at 03:51:40PM +0100,
11:21 AM
To: Peter Marksteiner
Cc: dbi-users@perl.org
Subject: Re: DBD::Oracle and CHLD Signal Handler
Oh, the joys of Oracle. Add require DBD::Oracle; to check if it's
a load-time or connect-time issue. Print $!. Use process tracing
tools (like truss, ktrace etc) to see what's happening. Let us