summaryrefslogtreecommitdiff
path: root/lib/MooseX/Privacy/Meta/Method
diff options
context:
space:
mode:
authorfranck cuny <franck@lumberjaph.net>2010-02-14 14:18:07 +0100
committerfranck cuny <franck@lumberjaph.net>2010-02-14 14:18:07 +0100
commite379842e7e4fe30c552d9057ac1400d6b9d81f9e (patch)
treeeb8cba2a06ec10c42306a573f579b5d65440a4c9 /lib/MooseX/Privacy/Meta/Method
parentrename private and protected with private_method and protected_method (diff)
downloadmoosex-privacy-e379842e7e4fe30c552d9057ac1400d6b9d81f9e.tar.gz
fix message
Diffstat (limited to '')
-rw-r--r--lib/MooseX/Privacy/Meta/Method/Private.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/MooseX/Privacy/Meta/Method/Private.pm b/lib/MooseX/Privacy/Meta/Method/Private.pm
index deb21d5..d4df26f 100644
--- a/lib/MooseX/Privacy/Meta/Method/Private.pm
+++ b/lib/MooseX/Privacy/Meta/Method/Private.pm
@@ -14,7 +14,7 @@ sub wrap {
croak "The "
. $args{package_name} . "::"
. $args{name}
- . " name method is private"
+ . " method is private"
unless ( scalar caller() ) eq $args{package_name};
goto &{$method};