diff options
author | Craig A. Berry <craigberry@mac.com> | 2005-04-29 12:22:48 -0500 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2005-05-02 08:09:38 +0000 |
commit | 8478abc46295ec4915771037b890b319744b48cf (patch) | |
tree | ae23cb7cc1a00e2f284ddd311d269bb50a329e51 /pod/podselect.PL | |
parent | 2af232bd5d3f6bd1ea08b47ef83cc57f75149871 (diff) | |
download | perl-8478abc46295ec4915771037b890b319744b48cf.tar.gz |
undo pod utilities regression in 24034
From: "Craig A. Berry" <craigberry@mac.com>
Message-ID: <4272B3B8.6030603@mac.com>
p4raw-id: //depot/perl@24359
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 7022fd2630..138e076146 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, '.PL'); +$file .= '.com' if $^O eq 'VMS'; open OUT,">$file" or die "Can't create $file: $!"; |