summaryrefslogtreecommitdiff
path: root/utils/pl2pm.PL
diff options
context:
space:
mode:
authorPerl 5 Porters <perl5-porters@africa.nicoh.com>1996-03-17 10:18:21 +0000
committerCharles Bailey <bailey@genetics.upenn.edu>1996-03-17 10:18:21 +0000
commitf360dba143c864a53fdb1573b40795cfe2331220 (patch)
tree261c1c2d605178381f828a22d0dc812732babf5e /utils/pl2pm.PL
parent79dd614e1e8c3b0e4ed35016e6971240b606da64 (diff)
downloadperl-f360dba143c864a53fdb1573b40795cfe2331220.tar.gz
Use $^O
Diffstat (limited to 'utils/pl2pm.PL')
-rw-r--r--utils/pl2pm.PL3
1 files changed, 1 insertions, 2 deletions
diff --git a/utils/pl2pm.PL b/utils/pl2pm.PL
index 4e69036499..e8277bb673 100644
--- a/utils/pl2pm.PL
+++ b/utils/pl2pm.PL
@@ -15,8 +15,7 @@ use File::Basename qw(&basename &dirname);
chdir(dirname($0));
($file = basename($0)) =~ s/\.PL$//;
$file =~ s/\.pl$//
- if ($Config{'osname'} eq 'VMS' or
- $Config{'osname'} eq 'OS2'); # "case-forgiving"
+ if ($^O eq 'VMS' or $^O eq 'os2'); # "case-forgiving"
open OUT,">$file" or die "Can't create $file: $!";