For more information see

        $ perldoc perlport

Not much more information, mind you, but at least a positive statement
that alarm is not implemented on Win32. This document also describes all
the other stuff without which I can't believe an operating system can
survive commercially...


Cary Millsap
Hotsos Enterprises, Ltd.
http://www.hotsos.com

Upcoming events:
- Hotsos Clinic, Oct 1-3 San Francisco, Oct 15-17 Dallas, Dec 9-11
Honolulu
- 2003 Hotsos Symposium on OracleR System Performance, Feb 9-12 Dallas
- Jonathan Lewis' Optimising Oracle, Nov 19-21 Dallas


-----Original Message-----
[EMAIL PROTECTED]
Sent: Wednesday, September 25, 2002 6:08 PM
To: Multiple recipients of list ORACLE-L

Unfortunately, this is one of those things that *doesn't*
work on Windoze, no support in the kernel.

Jared






"Bob Metelsky" <[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED]
 09/25/2002 01:48 PM
 Please respond to ORACLE-L

 
        To:     Multiple recipients of list ORACLE-L
<[EMAIL PROTECTED]>
        cc: 
        Subject:        RE: How to reproduce a hanging connect attempt


> In Perl:
> 
>    my $dbh = '';
>    eval {
>       local $SIG{ALRM} = sub {  die   };
>       alarm 60;
> 
>       my $dbh = DBI->connect(
>          'dbi:Oracle:' . $db,
>          'scott','tiger',
>       );
>    };
>    alarm 0;
> 
>    unless ($dbh) {
>      print "db $db is down";
>   } 
>

Humm do you know what the alarm function on windows 2000  pro is?? 

Im gettting
The Unsupported function alarm function is unimplemented at C:\evaldb.pl
line 11. It looks like alarm is a perl function

I can see the doc from 

Perldoc -f alarm

Nevertheless I get the unsupported function

Line 11 is  alarm 0;

??

Thanks
rob
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Bob Metelsky
  INET: [EMAIL PROTECTED]

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).



-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: 
  INET: [EMAIL PROTECTED]

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Cary Millsap
  INET: [EMAIL PROTECTED]

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).

Reply via email to