diff options
author | Craig A. Berry <craigberry@mac.com> | 2003-08-01 14:16:30 -0500 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2003-08-02 05:05:40 +0000 |
commit | 0e4142c9ef66ed123e5cb4a3557464b3ba4f2314 (patch) | |
tree | 053ec45636606d2d00cafd71b6b58d60a282de27 /pod/podselect.PL | |
parent | 44a689609fa78445e4c210006ef16da270d4e29e (diff) | |
download | perl-0e4142c9ef66ed123e5cb4a3557464b3ba4f2314.tar.gz |
argv case nit for VMS
From: "Craig A. Berry" <craigberry@mac.com>
Message-ID: <3F2B02DE.10207@mac.com>
p4raw-id: //depot/perl@20438
Diffstat (limited to 'pod/podselect.PL')
-rw-r--r-- | pod/podselect.PL | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/pod/podselect.PL b/pod/podselect.PL index b6b8c9b9e4..3402b040a4 100644 --- a/pod/podselect.PL +++ b/pod/podselect.PL @@ -15,9 +15,8 @@ use Cwd; # This is so that make depend always knows where to find PL derivatives. $origdir = cwd; chdir(dirname($0)); -($file = basename($0)) =~ s/\.PL$//; -$file =~ s/\.pl$// if ($^O eq 'os2' or $^O eq 'dos'); # "case-forgiving" -$file =~ s/\.pl$/.com/ if ($^O eq 'VMS'); # "case-forgiving" +($file = basename($0)) =~ s/\.PL$//i; +$file .= '.COM' if ($^O eq 'VMS'); open OUT,">$file" or die "Can't create $file: $!"; |