summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/OpenSLX/Utils.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/OpenSLX/Utils.pm b/lib/OpenSLX/Utils.pm
index cb43c6ea..a6048621 100644
--- a/lib/OpenSLX/Utils.pm
+++ b/lib/OpenSLX/Utils.pm
@@ -73,7 +73,7 @@ sub slurpFile
if (!open(F, "< $file") && !$mayNotExist) {
die _tr("could not open file '%s' for reading! (%s)", $file, $!);
}
- $/ = undef;
+ local $/ = undef;
my $text = <F>;
close(F);
return $text;