diff options
author | Oliver Tappe | 2007-03-14 22:06:48 +0100 |
---|---|---|
committer | Oliver Tappe | 2007-03-14 22:06:48 +0100 |
commit | eedc909b15c2d025ffaa16ed78f4e5230d004932 (patch) | |
tree | b234e41394fdcfd914e4cd9ea48dc0de3ed8b647 /lib | |
parent | * cleanup (diff) | |
download | core-eedc909b15c2d025ffaa16ed78f4e5230d004932.tar.gz core-eedc909b15c2d025ffaa16ed78f4e5230d004932.tar.xz core-eedc909b15c2d025ffaa16ed78f4e5230d004932.zip |
* fixed non-local $/ in slurpFile()
git-svn-id: http://svn.openslx.org/svn/openslx/trunk@770 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'lib')
-rw-r--r-- | lib/OpenSLX/Utils.pm | 2 |
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; |