diff options
author | franck cuny <franck@lumberjaph.net> | 2010-02-10 17:17:57 +0100 |
---|---|---|
committer | franck cuny <franck@lumberjaph.net> | 2010-02-10 17:17:57 +0100 |
commit | fde02406f47c302830eb697aa07ac18c4c57d057 (patch) | |
tree | 51327e4a2230fb02e3f79fd8e8dbea8c8ec49be8 /README | |
parent | update readme (diff) | |
download | moosex-privacy-fde02406f47c302830eb697aa07ac18c4c57d057.tar.gz |
improve POD
Diffstat (limited to 'README')
-rw-r--r-- | README | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/README b/README index 95b819b..711f5f6 100644 --- a/README +++ b/README @@ -1,5 +1,6 @@ NAME - MooseX::Privacy - Provides syntax to enable privacy on your methods + MooseX::Privacy - Provides the syntax to restrict/control visibility of + your methods SYNOPSIS use MooseX::Privacy; @@ -17,7 +18,7 @@ DESCRIPTION your class. Private - When you declare a method as private, the method can be called only + When you declare a method as private, this method can be called only within the class. package Foo; @@ -32,8 +33,8 @@ DESCRIPTION $foo->foo; # ok Protected - When you declare a method as protected, the method can be called only - within the class AND any subclasses. + When you declare a method as protected, this method can be called only + within the class AND any of it's subclasses. package Foo; use Moose; |