http://qs1969.pair.com?node_id=794942


in reply to Re: Signals in Strawberry Perl: Name or number?
in thread Signals in Strawberry Perl: Name or number?

Unfortunately, that gives me an error:

> perl -e "use POSIX 'SIGALRM'; die SIGALRM;' Your vendor has not defined POSIX macro SIGALRM, used at -e line 1

On another note, though, I'm curious about that. Does die SIGALRM actually raise a SIGALRM to the calling process, similar to POSIX::raise? If so, is it a POSIX thing, or can I use die SIGSTOP and so forth without useing POSIX?

print pack("A25",pack("V*",map{1919242272+$_}(34481450,-49737472,6228,0,-285028276,6979,-1380265972)))

Replies are listed 'Best First'.
Re^3: Signals in Strawberry Perl: Name or number?
by ikegami (Patriarch) on Sep 13, 2009 at 00:49 UTC

    Does die SIGALRM actually raise a SIGALRM to the calling process

    No. die is a terse way of printing. It never sends a signal.

    I'm guessing SIGALRM is a constant whose value is the signal number associated with SIGALRM.