Help for this page

Select Code to Download


  1. or download this
        my $chld_flag = 0;
    
    ...
            # Process user command, if any
            #   Such as launch child processes
        }
    
  2. or download this
        $SIG{'USR1'} = sub { $flag = 1; };
    
    ...
    
            DoWork();
        };
    
  3. or download this
        eval {
            eval {
    ...
                }
            };
        };
    
  4. or download this
    #!/usr/bin/perl
    
    ...
    exit(1);
    
    # EOF