Handle Perl modules with letters in names
authorJamie Cameron <jcameron@webmin.com>
Thu, 25 Sep 2008 17:41:09 +0000 (17:41 +0000)
committerJamie Cameron <jcameron@webmin.com>
Thu, 25 Sep 2008 17:41:09 +0000 (17:41 +0000)
cpan/download.cgi

index e62da10..3ff58fb 100755 (executable)
@@ -189,7 +189,7 @@ if ($file{'Build.PL'} && $file{'Makefile.PL'} < @dirs) {
                }
        }
 foreach $d (@dirs) {
-       if ($d =~ /^(\S+)\-v?([0-9\.]+)$/) {
+       if ($d =~ /^(\S+)\-v?([0-9\.ab]+)$/) {
                push(@mods, $1);
                push(@vers, $2);
                }