diff options
author | franck cuny <franck@lumberjaph.net> | 2010-07-18 15:13:21 +0200 |
---|---|---|
committer | franck cuny <franck@lumberjaph.net> | 2010-07-18 15:13:21 +0200 |
commit | 6f2113319afa3986f37110f1418462de94ab5d77 (patch) | |
tree | a23ea2373f19ace7461e50456e054b25e69a3f5a /lib | |
parent | some tidy (diff) | |
download | moosex-privacy-6f2113319afa3986f37110f1418462de94ab5d77.tar.gz |
switch to dzil;remove useless POD;update Changes
Diffstat (limited to 'lib')
-rw-r--r-- | lib/MooseX/Privacy.pm | 18 | ||||
-rw-r--r-- | lib/MooseX/Privacy/Meta/Attribute/Private.pm | 20 | ||||
-rw-r--r-- | lib/MooseX/Privacy/Meta/Attribute/Protected.pm | 21 | ||||
-rw-r--r-- | lib/MooseX/Privacy/Meta/Class.pm | 22 | ||||
-rw-r--r-- | lib/MooseX/Privacy/Meta/Class/Role.pm | 21 | ||||
-rw-r--r-- | lib/MooseX/Privacy/Meta/Method/Private.pm | 24 | ||||
-rw-r--r-- | lib/MooseX/Privacy/Meta/Method/Protected.pm | 25 | ||||
-rw-r--r-- | lib/MooseX/Privacy/Trait/Private.pm | 24 | ||||
-rw-r--r-- | lib/MooseX/Privacy/Trait/Protected.pm | 25 | ||||
-rw-r--r-- | lib/MooseX/Privacy/Trait/Role.pm | 22 |
10 files changed, 6 insertions, 216 deletions
diff --git a/lib/MooseX/Privacy.pm b/lib/MooseX/Privacy.pm index b41afc4..65270c8 100644 --- a/lib/MooseX/Privacy.pm +++ b/lib/MooseX/Privacy.pm @@ -1,5 +1,7 @@ package MooseX::Privacy; +# ABSTRACT: Provides the syntax to restrict/control visibility of your methods + our $VERSION = '0.01'; use Moose::Exporter; @@ -32,10 +34,6 @@ sub init_meta { 1; __END__ -=head1 NAME - -MooseX::Privacy - Provides the syntax to restrict/control visibility of your methods - =head1 SYNOPSIS use MooseX::Privacy; @@ -121,15 +119,3 @@ When the B<Private> traits is applied to an attribute, this attribute can only b When the B<Protected> traits is applied to an attribute, this attribute can only be read or set within the class AND any of his subclasses. -=head1 AUTHOR - -franck cuny E<lt>franck@lumberjaph.netE<gt> - -=head1 SEE ALSO - -=head1 LICENSE - -This library is free software; you can redistribute it and/or modify -it under the same terms as Perl itself. - -=cut diff --git a/lib/MooseX/Privacy/Meta/Attribute/Private.pm b/lib/MooseX/Privacy/Meta/Attribute/Private.pm index b3c7a35..cf63fd0 100644 --- a/lib/MooseX/Privacy/Meta/Attribute/Private.pm +++ b/lib/MooseX/Privacy/Meta/Attribute/Private.pm @@ -12,23 +12,3 @@ sub _check_private { } 1; -__END__ - -=head1 NAME - -MooseX::Privacy::Meta::Attribute::Private - -=head1 SYNOPSIS - -=head1 AUTHOR - -franck cuny E<lt>franck@lumberjaph.netE<gt> - -=head1 SEE ALSO - -=head1 LICENSE - -This library is free software; you can redistribute it and/or modify -it under the same terms as Perl itself. - -=cut diff --git a/lib/MooseX/Privacy/Meta/Attribute/Protected.pm b/lib/MooseX/Privacy/Meta/Attribute/Protected.pm index b0d57c5..d5ef6be 100644 --- a/lib/MooseX/Privacy/Meta/Attribute/Protected.pm +++ b/lib/MooseX/Privacy/Meta/Attribute/Protected.pm @@ -13,24 +13,3 @@ sub _check_protected { } 1; - -__END__ - -=head1 NAME - -MooseX::Privacy::Meta::Attribute::Protected - -=head1 SYNOPSIS - -=head1 AUTHOR - -franck cuny E<lt>franck@lumberjaph.netE<gt> - -=head1 SEE ALSO - -=head1 LICENSE - -This library is free software; you can redistribute it and/or modify -it under the same terms as Perl itself. - -=cut diff --git a/lib/MooseX/Privacy/Meta/Class.pm b/lib/MooseX/Privacy/Meta/Class.pm index 554752c..b286a7e 100644 --- a/lib/MooseX/Privacy/Meta/Class.pm +++ b/lib/MooseX/Privacy/Meta/Class.pm @@ -1,5 +1,7 @@ package MooseX::Privacy::Meta::Class; +#ABSTRACT: Meta Class for your privacy + use Moose::Role; use Moose::Meta::Class; @@ -18,14 +20,6 @@ sub register_implementation {'MooseX::Privacy::Trait::Protected'} __END__ -=head1 NAME - -MooseXMooseX::Privacy::Meta::Class - Meta Class for your privacy - -=head1 SYNOPSIS - -=head1 DESCRIPTION - =head1 METHODS =head2 local_private_attributes @@ -86,15 +80,3 @@ or ) ); -=head1 AUTHOR - -franck cuny E<lt>franck@lumberjaph.netE<gt> - -=head1 SEE ALSO - -=head1 LICENSE - -This library is free software; you can redistribute it and/or modify -it under the same terms as Perl itself. - -=cut diff --git a/lib/MooseX/Privacy/Meta/Class/Role.pm b/lib/MooseX/Privacy/Meta/Class/Role.pm index 76d3ca4..5543939 100644 --- a/lib/MooseX/Privacy/Meta/Class/Role.pm +++ b/lib/MooseX/Privacy/Meta/Class/Role.pm @@ -1,5 +1,7 @@ package MooseX::Privacy::Meta::Class::Role; +# ABSTRACT: Private and Protected parameterized roles + use MooseX::Role::Parameterized; use Scalar::Util; use Carp qw/confess/; @@ -66,23 +68,4 @@ role { }; 1; -__END__ - -=head1 NAME - -MooseX::Privacy::Meta::Class::Role - Private and Protected parameterized roles - -=head1 SYNOPSIS - -=head1 AUTHOR - -franck cuny E<lt>franck@lumberjaph.netE<gt> - -=head1 SEE ALSO - -=head1 LICENSE - -This library is free software; you can redistribute it and/or modify -it under the same terms as Perl itself. -=cut diff --git a/lib/MooseX/Privacy/Meta/Method/Private.pm b/lib/MooseX/Privacy/Meta/Method/Private.pm index e706e67..a308863 100644 --- a/lib/MooseX/Privacy/Meta/Method/Private.pm +++ b/lib/MooseX/Privacy/Meta/Method/Private.pm @@ -24,27 +24,3 @@ sub wrap { } 1; -__END__ - -=head1 NAME - -MooseX::Privacy::Meta::Method::Private - -=head1 SYNOPSIS - -=head1 METHODS - -=head2 wrap - -=head1 AUTHOR - -franck cuny E<lt>franck@lumberjaph.netE<gt> - -=head1 SEE ALSO - -=head1 LICENSE - -This library is free software; you can redistribute it and/or modify -it under the same terms as Perl itself. - -=cut diff --git a/lib/MooseX/Privacy/Meta/Method/Protected.pm b/lib/MooseX/Privacy/Meta/Method/Protected.pm index f76ac8e..22e1481 100644 --- a/lib/MooseX/Privacy/Meta/Method/Protected.pm +++ b/lib/MooseX/Privacy/Meta/Method/Protected.pm @@ -26,28 +26,3 @@ sub wrap { } 1; -__END__ - -=head1 NAME - -MooseX::Privacy::Meta::Method::Protected - -=head1 SYNOPSIS - -=head1 METHODS - -=head2 wrap - -=head1 AUTHOR - -franck cuny E<lt>franck@lumberjaph.netE<gt> - -=head1 SEE ALSO - -=head1 LICENSE - -This library is free software; you can redistribute it and/or modify -it under the same terms as Perl itself. - -=cut - diff --git a/lib/MooseX/Privacy/Trait/Private.pm b/lib/MooseX/Privacy/Trait/Private.pm index 7d16fd7..3f00add 100644 --- a/lib/MooseX/Privacy/Trait/Private.pm +++ b/lib/MooseX/Privacy/Trait/Private.pm @@ -4,27 +4,3 @@ use Moose::Role; with 'MooseX::Privacy::Trait::Role' => {name => 'Private'}; 1; - -__END__ - -=head1 NAME - -MooseX::Privacy::Trait::Private; - -=head1 SYNOPSIS - -=head1 METHODS - -=head1 AUTHOR - -franck cuny E<lt>franck@lumberjaph.netE<gt> - -=head1 SEE ALSO - -=head1 LICENSE - -This library is free software; you can redistribute it and/or modify -it under the same terms as Perl itself. - -=cut - diff --git a/lib/MooseX/Privacy/Trait/Protected.pm b/lib/MooseX/Privacy/Trait/Protected.pm index 78d0f11..282e335 100644 --- a/lib/MooseX/Privacy/Trait/Protected.pm +++ b/lib/MooseX/Privacy/Trait/Protected.pm @@ -4,28 +4,3 @@ use Moose::Role; with 'MooseX::Privacy::Trait::Role' => {name => 'Protected'}; 1; - -__END__ - -=head1 NAME - -MooseX::Privacy::Trait::Protected; - -=head1 SYNOPSIS - -=head1 METHODS - -=head1 AUTHOR - -franck cuny E<lt>franck@lumberjaph.netE<gt> - -=head1 SEE ALSO - -=head1 LICENSE - -This library is free software; you can redistribute it and/or modify -it under the same terms as Perl itself. - -=cut - - diff --git a/lib/MooseX/Privacy/Trait/Role.pm b/lib/MooseX/Privacy/Trait/Role.pm index 62c4c91..d4e9c02 100644 --- a/lib/MooseX/Privacy/Trait/Role.pm +++ b/lib/MooseX/Privacy/Trait/Role.pm @@ -20,25 +20,3 @@ role { }; 1; -__END__ - -=head1 NAME - -MooseX::Privacy::Trait::Role - -=head1 SYNOPSIS - -=head1 METHODS - -=head1 AUTHOR - -franck cuny E<lt>franck@lumberjaph.netE<gt> - -=head1 SEE ALSO - -=head1 LICENSE - -This library is free software; you can redistribute it and/or modify -it under the same terms as Perl itself. - -=cut |