summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordoy <doy@tozt.net>2009-02-04 19:46:59 -0500
committerdoy <doy@tozt.net>2009-02-04 19:46:59 -0500
commit3db21978a1f03f6e92af1cdefa52085796d93774 (patch)
tree25f511de7f4dafba0c504c7676db11cfa62b0d6b
parent0c724a1b3bb63754de5f428ad10f2d62fa4a0a86 (diff)
downloadmoosex-role-matcher-3db21978a1f03f6e92af1cdefa52085796d93774.tar.gz
moosex-role-matcher-3db21978a1f03f6e92af1cdefa52085796d93774.zip
fix synopsis bug
-rw-r--r--lib/MooseX/Role/Matcher.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/MooseX/Role/Matcher.pm b/lib/MooseX/Role/Matcher.pm
index e7c314a..c7587d6 100644
--- a/lib/MooseX/Role/Matcher.pm
+++ b/lib/MooseX/Role/Matcher.pm
@@ -32,7 +32,7 @@ MooseX::Role::Matcher - generic object matching based on attributes and methods
my @not_twenty_two = Person->grep_matches([@people], '!age' => 22);
# do any of the 22-year-olds have a phone number ending in 4?
- Person->any_match([@people], age => 22, number => qr/4$/);
+ Person->any_match([@people], age => 22, phone => qr/4$/);
# does everyone's name start with either J or E?
Person->all_match([@people], name => [qr/^J/, qr/^E/]);