This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Syntax nit in ExtUtils::Liblist::Kid, noticed by Yves Orton
authorRafael Garcia-Suarez <rgarciasuarez@gmail.com>
Wed, 7 Mar 2007 16:36:20 +0000 (16:36 +0000)
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>
Wed, 7 Mar 2007 16:36:20 +0000 (16:36 +0000)
p4raw-id: //depot/perl@30497

lib/ExtUtils/Liblist/Kid.pm

index b1d4236..c61161c 100644 (file)
@@ -10,7 +10,7 @@ use 5.00503;
 
 use strict;
 use vars qw($VERSION);
-$VERSION = 1.32_01;
+$VERSION = 1.32_02;
 
 use Config;
 use Cwd 'cwd';
@@ -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'}; }