Help for this page

Select Code to Download


  1. or download this
    $pid = open (INPUT, "mycommand $somefile |") or die ...;
    while (<INPUT>) {
    ...
      }
    }
    close INPUT;
    
  2. or download this
    $pid = open (INPUT, "gzip -dc $somegzfile | mycommand |") or die ...;
    while (<INPUT>) {
    ...
      }
    }
    close INPUT;