From: b Date: Sat, 24 Sep 2022 09:51:06 +0000 (+0000) Subject: Fixed output to file (not STDOUT) X-Git-Tag: v1.0.0~2 X-Git-Url: http://bicyclesonthemoon.info/git-projects/?a=commitdiff_plain;h=f249158f8fa475a824bc776a100b75c87a4e973c;p=botm%2Fconfig Fixed output to file (not STDOUT) --- diff --git a/configure.pl b/configure.pl index 9952e8d..3a13a61 100755 --- a/configure.pl +++ b/configure.pl @@ -994,7 +994,7 @@ sub convert_file { $line =~ s/[\r\n]//g; foreach my $key (keys %replace_line) { if (index($line, $key) >= 0) { - print "$replace_line{$key}\n"; + print $out "$replace_line{$key}\n"; next LINE; } }