On 03/11/10 19:16, Brian Phillips wrote:
> On Wed, Nov 3, 2010 at 9:55 AM, Charles Jardine <c...@cam.ac.uk> wrote:
>> I simply do not see this effect. The following program:
>>
>>  #!/usr/local/bin/perl -w
>>  use DBI;
>>  my $dbh = DBI->connect("dbi:Oracle:", oralogin) or die "Failed\n";
>>  $| = 1;
>>  sleep 1, print('.') while 1;
>>
>> prints dots every second until I press ^C, at which point it terminates.
>>
>> There must be something different about your environment. For reference, I
>> have Oracle 10.2.0.4.6, Perl 5.10.1, DBI 1.609, DBD::Oracle 1.24. The
>> OS is SLES 10 SP 3. It makes no difference whether I use the bequeather
>> or a TNS connection.
> 
> I can use your exact script and it doesn't respond to a <CTRL>-C.  The
> only difference is that I'm specifying a username and password in the
> DBI->connect call but I wouldn't think that would make any difference.
> 
> Our versions are similar:
> perl 5.10.1
> DBI 1.611
> DBD::Oracle 1.24
> Oracle Client 11.2.0.1.0

It might be a difference between the Oracle 10 and Oracle 11 clients.

Can someone who has easy access to both confirm to deny this?

-- 
Charles Jardine - Computing Service, University of Cambridge
c...@cam.ac.uk    Tel: +44 1223 334506, Fax: +44 1223 334679

Reply via email to