Skip to content

Commit

Permalink
Handle Perl modules with letters in names
Browse files Browse the repository at this point in the history
  • Loading branch information
jcameron committed Sep 25, 2008
1 parent 4c86d02 commit 75998f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cpan/download.cgi
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 75998f0

Please sign in to comment.