#shell command... yourPerl.pl | FortranProg.exe #### yourPerl.pl > tempfile Fortran outputfile del tempfile #### perlprog | fortan -gain 3dB