I see in the fine manual, the suggested way of interrupting an executing statement from within a signal handler is to use the cancel function. Unfortunately, it doesn't give an example of its use. I tried simply doing DBI->cancel(), but receive the following error : Can't locate auto/DBI/cancel.al in @INC (@INC contains: /usr/local/lib/perl5/5.6.0/i386-sco /usr/local/lib/perl5/5.6.0 /usr/local/lib/perl5/site_perl/5.6.0/i386-sco /usr/local/lib/perl5/site_perl/5.6.0 /usr/local/lib/perl5/site_perl .) at ./a2.pl line 23
Any clues ? The other method I thought of trying was to send myself a SIGINT in the Signal handler. So, if for example, I received a SIGTERM, I send myself a SIGINT - which Oracle responds to and interrupts the currently executing statement. Is this a dodgy approach ? Thanks, Steve
