This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
It's `VMS::Filespec', not `Filespec'
authorFlorian Ragwitz <rafl@debian.org>
Wed, 18 Aug 2010 21:00:57 +0000 (23:00 +0200)
committerFlorian Ragwitz <rafl@debian.org>
Wed, 18 Aug 2010 21:03:04 +0000 (23:03 +0200)
Porting/corelist.pl

index e06f598..f27102e 100644 (file)
@@ -86,7 +86,7 @@ find(
         $version =~ /\d/ and $version = "'$version'";
 
         # some heuristics to figure out the module name from the file name
-        $module =~ s{^(lib|cpan|dist|(?:vms/|symbian/)?ext)/}{}
+        $module =~ s{^(lib|cpan|dist|(?:symbian/)?ext)/}{}
                        and $1 ne 'lib'
             and (
             $module =~ s{\b(\w+)/\1\b}{$1},
@@ -98,6 +98,7 @@ find(
             $module =~ s{^MIME-Base64/QuotedPrint}{MIME/QuotedPrint},
             $module =~ s{^(?:DynaLoader|Errno|Opcode)/}{},
             );
+        $module =~ s{^vms/ext}{VMS};
                $module =~ s{^lib/}{}g;
         $module =~ s{/}{::}g;
         $module =~ s{-}{::}g;