summaryrefslogtreecommitdiff
path: root/x2p/find2perl.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 /x2p/find2perl.PL
parent79dd614e1e8c3b0e4ed35016e6971240b606da64 (diff)
downloadperl-f360dba143c864a53fdb1573b40795cfe2331220.tar.gz
Use $^O
Diffstat (limited to 'x2p/find2perl.PL')
-rw-r--r--x2p/find2perl.PL3
1 files changed, 1 insertions, 2 deletions
diff --git a/x2p/find2perl.PL b/x2p/find2perl.PL
index fd8b134fbc..32f78fe23f 100644
--- a/x2p/find2perl.PL
+++ b/x2p/find2perl.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: $!";