From 8fb57acf805b43099a950d6c022a3fb5dbe885ba Mon Sep 17 00:00:00 2001 From: ronaldxs Date: Mon, 2 Jul 2012 11:27:40 -0300 Subject: I think this is why URI is seg faulting. I have not fully tested this with respect to its overall effect on rakudo star but it seems safe and appropriate enough. I think similar changes were made not long ago to ufo and maybe panda. --- skel/tools/build/module-install.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/skel/tools/build/module-install.pl b/skel/tools/build/module-install.pl index 7fa4fbe..8cbc20b 100644 --- a/skel/tools/build/module-install.pl +++ b/skel/tools/build/module-install.pl @@ -41,7 +41,7 @@ while (@ARGV) { $module_to_path{$module} = $module_file; $usages_of{$module} = []; while (<$fh>) { - if (/^\s* use \s+ (\w+ (?: :: \w+)*)/x and my $used = $1) { + if (/^\s* (?:use|need) \s+ (\w+ (?: :: \w+)*)/x and my $used = $1) { next if $used eq 'v6'; next if $used eq 'MONKEY_TYPING'; -- cgit v1.1