#!/usr/bin/perl # ocamlp.pl - Don Yang (uguu.org) # # 09/14/03 $file = "ocamlp-$$.ml"; open SOURCE, "> $file" or die; while() { print SOURCE $_; } close SOURCE; system "ocaml $file"; unlink $file;