Hi All, We're seeing some very odd behavior with using alarm() around the DBI->connect() call only on Solaris platforms. It appears that even though we clear the alarm after a successful connection, for some reason the alarm signal is still getting sent and we receive a very nice "Alarm Clock" message. The following script demostrates the problem (on Solaris), but works fine on Linux. Anyone have any guesses why this may be?
BTW, we're using DBI 1.20 w/ DBD-Oracle 1.12. Script -------------------------- #!/usr/bin/perl use DBI; $| = 1; my $dbh; alarm( 5 ); $dbh = DBI->connect( 'DBI:Oracle:host=<host>; sid=<sid>; port=1521', '<user>', '<password>' ); alarm( 0 ); print "\$\@: $@\n"; print "sleeping..."; sleep(10); print "done\n"; -- Joe Slagel Geospiza, Inc. 3939 Leary Way NW, Seattle WA 98107 (206) 633-4403 [EMAIL PROTECTED]
