Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Refer to dependency resolution discussion in code comments

  • Loading branch information...
commit 33b14c3bc69a48f2fa0cb16a4d521582308234f4 1 parent e317330
@rwstauner authored
Showing with 3 additions and 0 deletions.
  1. +3 −0  lib/Set/DynamicGroups.pm
View
3  lib/Set/DynamicGroups.pm
@@ -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);
}
Please sign in to comment.
Something went wrong with that request. Please try again.