From: Craig A. Berry Date: Wed, 6 Aug 2003 00:18:36 +0000 (-0500) Subject: dprofpp.PL again -- #20488 thinko X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=2693a1648dd84c050f2b4471acfeaa9b91611d3c;p=p5sagit%2Fp5-mst-13.2.git dprofpp.PL again -- #20488 thinko From: "Craig A. Berry" Message-ID: <3F308FAC.4090409@mac.com> (from vmsperl list) p4raw-id: //depot/perl@20513 --- diff --git a/utils/dprofpp.PL b/utils/dprofpp.PL index d48b3bf..eabc7b1 100644 --- a/utils/dprofpp.PL +++ b/utils/dprofpp.PL @@ -14,9 +14,8 @@ use File::Spec; # This forces PL files to create target in same directory as PL file. # This is so that make depend always knows where to find PL derivatives. chdir(dirname($0)); -($file = basename($0)) =~ s/\.PL$//; -$file =~ s/\.pl$// if ($Config{'osname'} eq 'OS2'); # "case-forgiving" -$file =~ s/\.pl$/.com/i if ($Config{'osname'} eq 'VMS'); # "case-forgiving" +($file = basename($0)) =~ s/\.PL$//i; +$file .= '.COM' if ($^O eq 'VMS'); my $dprof_pm = File::Spec->catfile(File::Spec->updir, 'ext', 'Devel', 'DProf', 'DProf.pm'); my $VERSION = 0;