diff options
author | Perl 5 Porters <perl5-porters@africa.nicoh.com> | 1996-03-17 10:18:21 +0000 |
---|---|---|
committer | Charles Bailey <bailey@genetics.upenn.edu> | 1996-03-17 10:18:21 +0000 |
commit | f360dba143c864a53fdb1573b40795cfe2331220 (patch) | |
tree | 261c1c2d605178381f828a22d0dc812732babf5e /x2p | |
parent | 79dd614e1e8c3b0e4ed35016e6971240b606da64 (diff) | |
download | perl-f360dba143c864a53fdb1573b40795cfe2331220.tar.gz |
Use $^O
Diffstat (limited to 'x2p')
-rw-r--r-- | x2p/find2perl.PL | 3 | ||||
-rw-r--r-- | x2p/s2p.PL | 3 |
2 files changed, 2 insertions, 4 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: $!"; diff --git a/x2p/s2p.PL b/x2p/s2p.PL index 4f7293d4c2..29864b418a 100644 --- a/x2p/s2p.PL +++ b/x2p/s2p.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: $!"; |