in reply to Running an external command
If your program output a file, why use a backtick? simply use a open function in Perl, like this:
Please, check perldoc perlopentutuse warnings; use strict; my $output_file="output.bam"; open my $fh,'>',$output_file or die "can't open $output_file:$!"; print $fh " ... hello world into my file..."; close $fh or die "can close file: $!";
|
|---|