summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xmodules/conf/confmaker.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/conf/confmaker.pl b/modules/conf/confmaker.pl
index 53c4226..752399c 100755
--- a/modules/conf/confmaker.pl
+++ b/modules/conf/confmaker.pl
@@ -65,14 +65,14 @@ $nextarg = 1;
if (@ARGV[$nextarg] eq "-o") {
$outputFileName = "@ARGV[$nextarg+1]";
$nextarg += 2;
- open (OUTF, ">:utf8", "$outputFileName") or die "Could not open file $outputFileName for writing.";
+ open (OUTF,, ">:utf8", "$outputFileName") or die "Could not open file $outputFileName for writing.";
select(OUTF)
}
if (@ARGV[$nextarg] eq "-i") {
$inputFileName = "@ARGV[$nextarg+1]";
$nextarg += 2;
- open INF, "<:utf8","$inputFileName" ;
+ open (INF,, "<:utf8","$inputFileName") or die "Could not open inputfile $inputFileName for reading ;
@inputfile = <INF>;
}