diff options
author | franck cuny <franck@lumberjaph.net> | 2010-02-14 14:18:07 +0100 |
---|---|---|
committer | franck cuny <franck@lumberjaph.net> | 2010-02-14 14:18:07 +0100 |
commit | e379842e7e4fe30c552d9057ac1400d6b9d81f9e (patch) | |
tree | eb8cba2a06ec10c42306a573f579b5d65440a4c9 | |
parent | rename private and protected with private_method and protected_method (diff) | |
download | moosex-privacy-e379842e7e4fe30c552d9057ac1400d6b9d81f9e.tar.gz |
fix message
-rw-r--r-- | lib/MooseX/Privacy/Meta/Method/Private.pm | 2 |
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}; |