my $out_file = "/other/path/$in_file"; # this opens file ... open (LOGFILE, '>>', $out_file); # ... but still without backticks execution/interpolation