commit 59bfedb46f368499dc189620b1c6d3cea88a8dfb
parent 659fb098117bc50efc4cb92d586afa267c727489
Author: lumidify <nobody@lumidify.org>
Date: Mon, 6 Apr 2020 16:02:26 +0200
Small cleanup
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/transliterate.pl b/transliterate.pl
@@ -1366,7 +1366,7 @@ if (-f $args{"errors"} && !$args{"force"}) {
my $outputfh;
if ($args{"output"} eq "") {
warn "WARNING: no output file supplied; printing to STDOUT\n";
- open $outputfh, ">&STDOUT";
+ $outputfh = *STDOUT;
} elsif (-f $args{"output"} && !$args{"force"}) {
my $choice = "";
while ($choice !~ /^[aoe]$/) {