From e41d7bbceb55fe60c8f76589a4205d279132de7b Mon Sep 17 00:00:00 2001 From: Jamie Cameron Date: Sun, 30 Aug 2015 09:31:14 -0700 Subject: [PATCH] Allow specification of perl modules with a / --- cpan/download.cgi | 1 + 1 file changed, 1 insertion(+) diff --git a/cpan/download.cgi b/cpan/download.cgi index e950742ae..3f170c742 100755 --- a/cpan/download.cgi +++ b/cpan/download.cgi @@ -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