Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^3: Any reference about %SIG

by haukex (Archbishop)
on Jan 28, 2023 at 09:28 UTC ( [id://11149975]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Any reference about %SIG
in thread Any reference about %SIG

I am looking for a document explains all the signals' meaning and trigger.

The signals special to Perl, like __WARN__ and __DIE__, are documented in %SIG, the other signals are generally POSIX signals, which you can read about for example in signal(7) like here and here, or in Signal (IPC). Note that a lot of signals may be OS-specific. If you could tell us what you want to use them for (and on which platforms), perhaps we can give more specific advice.

Replies are listed 'Best First'.
Re^4: Any reference about %SIG
by exilepanda (Friar) on Jan 28, 2023 at 13:48 UTC
    Oh! Thank you so much! Learned something really new today, those SIGs are actually POSIX and IPC stuff, no wonder I don't get much useful results on my search before. I am working on Windows tho.

      The closest Windows has to signals is Ctrl-C and Ctrl-Break, and I believe those are mapped to signals. I don't remember which.

      > I am working on Windows tho.

      They(who?;-) say Windows is POSIX compatible, so many things work.

      But it's complicated to get to decent info here, hence you need to test.

      IIRC even if a signal is supported details may differ.

      Cheers Rolf
      (addicted to the 𐍀𐌴𐍂𐌻 Programming Language :)
      Wikisyntax for the Monastery

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11149975]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (4)
As of 2025-11-12 12:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What's your view on AI coding assistants?





    Results (68 votes). Check out past polls.

    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.