summaryrefslogtreecommitdiffstats
path: root/perl-install/common.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2002-11-11 13:29:44 +0000
committerPascal Rigaux <pixel@mandriva.com>2002-11-11 13:29:44 +0000
commitc1e398be894ecce6394bd76c99b76c022979ac62 (patch)
tree62f279c533f8b96547b3fbf261449705426bb189 /perl-install/common.pm
parentd545c394e5c9b2cab90b525c32de553e3d5bbfb8 (diff)
downloaddrakx-c1e398be894ecce6394bd76c99b76c022979ac62.tar
drakx-c1e398be894ecce6394bd76c99b76c022979ac62.tar.gz
drakx-c1e398be894ecce6394bd76c99b76c022979ac62.tar.bz2
drakx-c1e398be894ecce6394bd76c99b76c022979ac62.tar.xz
drakx-c1e398be894ecce6394bd76c99b76c022979ac62.zip
various small syntax enhancements to please perl_checker
Diffstat (limited to 'perl-install/common.pm')
-rw-r--r--perl-install/common.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/common.pm b/perl-install/common.pm
index 58872df01..6dd6f279c 100644
--- a/perl-install/common.pm
+++ b/perl-install/common.pm
@@ -37,7 +37,7 @@ sub salt {
open F, devices::make("random") or die "missing random";
my $s; read F, $s, $nb;
local $_ = pack "b8" x $nb, unpack "b6" x $nb, $s;
- tr [\0-\x3f] [0-9a-zA-Z./];
+ tr|\0-\x3f|0-9a-zA-Z./|;
$_;
}