I've just requested registration of and uploaded:
ftp://pause.perl.org/incoming/Sys-SigAction-0.01.tar.gz
Thanks to all who helped in discussing this.
Lincoln
On Sun, Jan 11, 2004 at 10:15:20PM -0500, Lincoln A. Baxter wrote:
On dbi-users... I responded to Tim Bunce's most helpful suggestions as
follows... He suggested Sys::SigAction as name. Since the module is all
about wrapping up system (POSIX) sigaction() calls, I like it!
Lincoln,
A slow
* Lincoln A. Baxter [EMAIL PROTECTED] [2004-01-12 10:02]:
On Sun, 2004-01-11 at 15:50, Tim Bunce wrote:
It might also be worth adding some mechanism to integrate with Sys::Signal
http://search.cpan.org/src/DOUGM/Sys-Signal/Signal.pm
I took a look that this. It is little bit of perlxs glue
On Sun, Jan 11, 2004 at 10:15:20PM -0500, Lincoln A. Baxter wrote:
On dbi-users... I responded to Tim Bunce's most helpful suggestions as
follows... He suggested Sys::SigAction as name. Since the module is all
about wrapping up system (POSIX) sigaction() calls, I like it!
On Sun, 2004-01-11
At 10:09 + 1/12/04, Tim Bunce wrote:
On Sun, Jan 11, 2004 at 10:15:20PM -0500, Lincoln A. Baxter wrote:
eval {
local $SIG{ALRM} = sub { ... };
}
Either way your Sys::SigAction is sufficient. The only thing it's
lacking that Sys::Signal has is the automatic restoration of the
On Mon, 2004-01-12 at 05:46, Elizabeth Mattijsen wrote:
At 10:09 + 1/12/04, Tim Bunce wrote:
On Sun, Jan 11, 2004 at 10:15:20PM -0500, Lincoln A. Baxter wrote:
eval {
local $SIG{ALRM} = sub { ... };
}
Either way your Sys::SigAction is sufficient. The only thing it's
On Mon, 2004-01-12 at 04:18, A. Pagaltzis wrote:
IMO it would be much neater not to have to separately localize
$SIG{ALRM} but to have restoration optionally done by your module
on request. I believe the clearest way to handle the syntax would
be a check for context in sig_set_handler() and