Help for this page

Select Code to Download


  1. or download this
       my $intr = 0;
       my $save_handler = $SIG{INT};
    ...
       $SIG{INT} = $save_handler || ''; # assign handler back if true, els
    +e ''
    
       # check value of $intr to see if I was interrupted...
    
  2. or download this
    qwurx [shmem] ~ > perl -wle '$SIG{BLORF} = undef'
    No such signal: SIGBLORF at -e line 1.
    
  3. or download this
       my $save_handler = $SIG{INT} || '';