Help for this page

Select Code to Download


  1. or download this
    $SIG{QUIT}= \&GotSignal;
  2. or download this
    Got a QUIT signal, exiting
  3. or download this
    sub GotSignal {
        my $sig= ucfirst lc shift;
        print "Got a $sig signal, exiting\n";
        exit(0);
    }