Help for this page

Select Code to Download


  1. or download this
    open DH, '-|', ... # this is the list form of pipe-open
    
  2. or download this
    my $cmd = "ct-energy -s $suffix ${prefix}.ct";
    open my $dh, "$cmd |"
    ...
    while( <$dh>) {
        ...
    };