Help for this page

Select Code to Download


  1. or download this
    #!/usr/local/bin/perl -w
    
    ...
            wait;
        }
    }
    
  2. or download this
    # test2.pl
    #!/usr/local/bin/perl
    ...
    $SIG{INT} = sub { warn "in child\n"; exit; };
    
    sleep 100;
    
  3. or download this
    in parent at ./test.pl line 4.
    in child
    > <--- shell prompt.