in reply to Cannot exit Perl process once ODBC call has been made

What have you tried so far?

--t. alex
Life is short: get busy!

Update: D'Oh. OK, DBI::trace isn't going to work when Win32::ODBC is being used, as bart points out. My point (blunt though it was) was to look at all of the links in the chain.

  • Comment on Re: Cannot exit Perl process once ODBC call has been made

Replies are listed 'Best First'.
Re: Re: Cannot exit Perl process once ODBC call has been made
by bart (Canon) on Mar 20, 2003 at 00:52 UTC
    DBI::trace? When he's not even using DBI, but Win32::ODBC? No kidding...

    Perhaps the OP could indeed try using DBI+DBD::ODBC instead. I see no %SIG manipulation in the perl source of Win32::ODBC — $SIG{INT} is the way to capture the signal coming from ctrl-C. So I can only guess that it hangs in the XS part (the DLL) of this module...