$filename = "foo.bar"; open(TMP_SEQ, ">$filename"); print TMP_SEQ ">$string"; $output = `executable -f foo.bar`