Permalink
Browse files

Refer to dependency resolution discussion in code comments

  • Loading branch information...
1 parent e317330 commit 33b14c3bc69a48f2fa0cb16a4d521582308234f4 @rwstauner committed Dec 31, 2010
Showing with 3 additions and 0 deletions.
  1. +3 −0 lib/Set/DynamicGroups.pm
View
@@ -97,6 +97,8 @@ sub add_items {
}
*add_members = \&add_items;
+# NOTE: See L</DEPENDENCY RESOLUTION> for comments
+
sub _determine_items {
# $name is required (rathan than ref) to push name onto anti-recursion stack
my ($self, $name, $current) = @_;
@@ -200,6 +202,7 @@ sub groups {
: keys %group_specs;
foreach my $name ( @names ){
+ # the 'each' dependency resolution "strategy"
$groups{$name} = $self->_determine_items($name);
}

0 comments on commit 33b14c3

Please sign in to comment.