Help for this page

Select Code to Download


  1. or download this
    $sub = sub { exec "perl $0" };
    $SIG{INT} = $sub;
    $SIG{USR1} = $sub;
    
    print ++$counter while 1;
    
  2. or download this
    [matt@powerbook test] perl 440900.pl 
    1
    2
    ...
    ^C8
    ^Z
    [1]+  Stopped                 perl 440900.pl