Help for this page

Select Code to Download


  1. or download this
    open SHELL, "| bash.exe" or die "can't open the shell: $!";
    
    ...
    print SHELL "dir C:/output.txt\n";
    
    # and so on...
    
  2. or download this
    open TEMP, "C:/temp.ml" or die "C:/temp.ml: $!";
    open CAML, "| ocaml > C:/output.txt" or die "can't run ocaml: $!";
    ...
    while (<TXT>) {
        # do other stuff
    }