Help for this page

Select Code to Download


  1. or download this
        use strict;
        my $pid = open my $pipe, "-|";
    ...
        local $/;
        my $output = <$pipe>;
        close $pipe;
    
  2. or download this
        if( been_a_while() ) {
            system( $^X, $0, "--restart=$context", @ARGV );
        }