Re: Not catching HUP signal - Perl Sybase

2007-12-13 Thread Chas. Owens
On Dec 12, 2007 10:57 PM, NewbeeUnix <[EMAIL PROTECTED]> wrote: > Sorry for replying late... > The task that I want to achieve is to catch the HUP signal and send > notification about the process. But due to addition of sybase::ctlib > it catches the signal and my program fails. > Another issue is

RE: Not catching HUP signal - Perl Sybase

2007-12-13 Thread Andrew Curry
Look at $SIG{INT)=\&catch_signal; Sub catch_signal { $signal=shift; # # do something # exit; } -Original Message- From: NewbeeUnix [mailto:[EMAIL PROTECTED] Sent: 13 December 2007 03:57 To: beginners@perl.org Subject: Re: Not catching HUP signal - Perl Sybase Sorry for repl

Re: Not catching HUP signal - Perl Sybase

2007-12-13 Thread NewbeeUnix
Sorry for replying late... The task that I want to achieve is to catch the HUP signal and send notification about the process. But due to addition of sybase::ctlib it catches the signal and my program fails. Another issue is that sybase::ctlib is used throughout in our project and I cannot change i

Re: Not catching HUP signal - Perl Sybase

2007-12-08 Thread Chas. Owens
On Dec 8, 2007 9:28 AM, NewbeeUnix <[EMAIL PROTECTED]> wrote: > Yes I did tried with Sybase::DBlib and it works with that.. > I also came to the same conclusion that CTlib is catching it > somehow... > Is there a way to not allow that > Also DBlib module cannot be used ... some restrictions are

Re: Not catching HUP signal - Perl Sybase

2007-12-08 Thread Tom Phoenix
On 12/8/07, NewbeeUnix <[EMAIL PROTECTED]> wrote: > Yes I did tried with Sybase::DBlib and it works with that.. > I also came to the same conclusion that CTlib is catching it > somehow... > Is there a way to not allow that I should think so, although you might have to install a different modu

Re: Not catching HUP signal - Perl Sybase

2007-12-08 Thread NewbeeUnix
Yes I did tried with Sybase::DBlib and it works with that.. I also came to the same conclusion that CTlib is catching it somehow... Is there a way to not allow that Also DBlib module cannot be used ... some restrictions are there :-( Thanks! On Dec 7, 1:43 pm, [EMAIL PROTECTED] (Tom Phoen

Re: Not catching HUP signal - Perl Sybase

2007-12-07 Thread Tom Phoenix
On 12/6/07, NewbeeUnix <[EMAIL PROTECTED]> wrote: > I'm facing a issue where the my perl script is unable to catch the > signals. The below code I had got it from one of the site. I run this > script and kill using HUP signal from another window, so that it > catches it and does the necessary acti

Not catching HUP signal - Perl Sybase

2007-12-07 Thread NewbeeUnix
Hello All, I'm facing a issue where the my perl script is unable to catch the signals. The below code I had got it from one of the site. I run this script and kill using HUP signal from another window, so that it catches it and does the necessary action. The issue is on adding the module Sybase::CT