Subject: | Argument 'follow' does not work correctly |
Date: | Tue, 22 May 2007 23:01:51 +0900 |
To: | bug-PAR-Dist-FromCPAN [...] rt.cpan.org |
From: | "Takashi Karino" <tkarino [...] gmail.com> |
I tested to creatre PAR archives having a module with arugument
'follow', but it doesn't include prerequisite modules into par.
After investigation, I found the following bug in
PAR:::Dist::FromCPAN, so send a patch.
--- PAR-Dist-FromCPAN-0.04/lib/PAR/Dist/FromCPAN.pm.orig
2007-05-22 22:51:36.328125000 +0900
+++ PAR-Dist-FromCPAN-0.04/lib/PAR/Dist/FromCPAN.pm 2007-05-22
22:52:38.546875000 +0900
@@ -115,7 +115,7 @@
_skip_this($skip_ary, $_->id) ? () : $_
}
map {CPAN::Shell->expand('Module', $_)}
- keys %$pre_req;
+ keys %{$pre_req->{requires}};
my %this_seen;
@modules =
grep {
--
Best regards
-- Takashi Karino