open (SYS, "/bin/tcsh $tempfilename | ") or die "$!"; while () { print "[DEBUG] $_
"; } close SYS;