Help for this page

Select Code to Download


  1. or download this
    How do I trap control characters/signals?
           You don't actually "trap" a control character.  Instead, that c
    +haracter generates a signal which is sent to your terminal's currentl
    +y foregrounded process group,
    ...
           violated the rules of signal handling at that level causing per
    +l to dump core. Since version 5.8.0, perl looks at %SIG *after* the s
    +ignal has been caught, rather
           than while it is being caught.  Previous versions of this answe
    +r were incorrect.