The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

sigtest.pl - test for safe/unsafe signal handling

SYNOPSIS

    sigtest.pl SIGNAME SAFE|UNSAFE

    # (SIGNAME is a standard signal - default is USR1)
    # (SAFE will use Net::Server::SIG, UNSAFE uses \$SIG{} - default is SAFE)
    # If the child isn't saying anything, the test is invalid.
    # If the child dies, look for a core file.

    # The process will run until it dies or you kill it

DESCRIPTION

Recent versions of Perl (5.8 ish) have much better signal handling so the safe signal handling may not be necessary. But on older versions of Perl the safe signal handling was necessary. It still doesn't hurt to use some of the safer practices on newer Perls.