diff options
author | Marek Rouchal <marek.rouchal@infineon.com> | 2003-08-27 19:25:28 +0200 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2003-08-29 07:04:17 +0000 |
commit | c23d1eb0e18a49361001d26c686323d50b0c6d21 (patch) | |
tree | 8a99ae1c763716321f085b9eec2826a95cc51461 /pod/pod2usage.PL | |
parent | 4cbfc073c684f8df92bed18af079c31ca9949ba5 (diff) | |
download | perl-c23d1eb0e18a49361001d26c686323d50b0c6d21.tar.gz |
RE: [PATCH] Pod::InputObjects performance de-pessimization
Message-ID: <9843A649BAD7FB4686F6FCBC840D600E08381508@mucse001.eu.infineon.com>
PodParser-1.25 prerelease.
p4raw-id: //depot/perl@20928
Diffstat (limited to 'pod/pod2usage.PL')
-rw-r--r-- | pod/pod2usage.PL | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/pod/pod2usage.PL b/pod/pod2usage.PL index 4828d64f60..1c1296a19f 100644 --- a/pod/pod2usage.PL +++ b/pod/pod2usage.PL @@ -15,8 +15,9 @@ 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$//i; -$file .= '.COM' if ($^O eq 'VMS'); +($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" open OUT,">$file" or die "Can't create $file: $!"; |