From: Craig A. Berry Date: Fri, 9 Mar 2007 00:46:34 +0000 (+0000) Subject: In ExtUtils::Liblist::Kid::_vms_ext(), escape the dollar, not the X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=aba06fcba2d2a2742ddfe9c1741ad62ded2c93ec;p=p5sagit%2Fp5-mst-13.2.git In ExtUtils::Liblist::Kid::_vms_ext(), escape the dollar, not the minus (there was no intention to use $\ or $- here). p4raw-id: //depot/perl@30521 --- diff --git a/lib/ExtUtils/Liblist/Kid.pm b/lib/ExtUtils/Liblist/Kid.pm index ee1522d..e00115a 100644 --- a/lib/ExtUtils/Liblist/Kid.pm +++ b/lib/ExtUtils/Liblist/Kid.pm @@ -389,7 +389,7 @@ sub _vms_ext { if ($self->{PERL_SRC}) { my($lib,$locspec,$type); foreach $lib (@crtls) { - if (($locspec,$type) = $lib =~ m!^([\w$\-]+)(/\w+)?! and $locspec =~ /perl/i) { + if (($locspec,$type) = $lib =~ m!^([\w\$-]+)(/\w+)?! and $locspec =~ /perl/i) { if (lc $type eq '/share') { $locspec .= $Config{'exe_ext'}; } elsif (lc $type eq '/library') { $locspec .= $Config{'lib_ext'}; } else { $locspec .= $Config{'obj_ext'}; }