Skip to content

Commit

Permalink
fix .value confusion in Match.caps
Browse files Browse the repository at this point in the history
  • Loading branch information
moritz committed Apr 21, 2009
1 parent 6ea0aa1 commit a76abb3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/setting/Match.pm
Expand Up @@ -56,7 +56,7 @@ class Match is also {
# in regexes like [(.) ...]+, the capture for (.) is
# a List. flatten that.
if $p.value ~~ List {
take ($p.key => $_.value) for @($p);
take ($p.key => $_) for @($p.value);
} else {
take $p;
}
Expand Down

0 comments on commit a76abb3

Please sign in to comment.