Allow specification of perl modules with a /

This commit is contained in:
Jamie Cameron
2015-08-30 09:31:14 -07:00
parent b5438d5e74
commit e41d7bbceb

View File

@ -67,6 +67,7 @@ elsif ($in{'source'} == 3) {
$in{'cpan'} || &error($text{'download_emodname'});
$in{'cpan'} =~ s/^\s+//;
$in{'cpan'} =~ s/\s+$//;
$in{'cpan'} =~ s/\/+/::/g;
@cpan = split(/\s+|\0/, $in{'cpan'});
# First check if YUM or APT can install this module for us