From: Shawn M Moore Date: Tue, 2 Dec 2008 09:21:36 +0000 (+0000) Subject: Dist tweaks; this commit is 0.01 X-Git-Tag: 0.05~48 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=30788701eeebd921d6a20ce1fe9bb70b5779b3cd;p=gitmo%2FMooseX-Role-Parameterized.git Dist tweaks; this commit is 0.01 --- diff --git a/lib/MooseX/Role/Parameterized.pm b/lib/MooseX/Role/Parameterized.pm index 4486f75..47377c1 100644 --- a/lib/MooseX/Role/Parameterized.pm +++ b/lib/MooseX/Role/Parameterized.pm @@ -1,7 +1,5 @@ package MooseX::Role::Parameterized; -# ABSTRACT: parameterized roles - use Moose ( extends => { -as => 'moose_extends' }, around => { -as => 'moose_around' }, @@ -180,6 +178,10 @@ sub augment { croak "Roles cannot support 'augment'" } __END__ +=head1 NAME + +MooseX::Role::Parameterized - parameterized roles + =head1 SYNOPSIS package MyRole::Counter; diff --git a/lib/MooseX/Role/Parameterized/Meta/Role/Parameterizable.pm b/lib/MooseX/Role/Parameterized/Meta/Role/Parameterizable.pm index 20cf586..f76f296 100644 --- a/lib/MooseX/Role/Parameterized/Meta/Role/Parameterizable.pm +++ b/lib/MooseX/Role/Parameterized/Meta/Role/Parameterizable.pm @@ -2,8 +2,6 @@ package MooseX::Role::Parameterized::Meta::Role::Parameterizable; use Moose; extends 'Moose::Meta::Role'; -# ABSTRACT: metaclass for parameterizable roles - use MooseX::Role::Parameterized::Meta::Role::Parameterized; use MooseX::Role::Parameterized::Parameters; @@ -86,6 +84,10 @@ no Moose; __END__ +=head1 NAME + +MooseX::Role::Parameterized::Meta::Role::Parameterizable - metaclass for parameterizable roles + =head1 DESCRIPTION This is the metaclass for parameteriz-able roles, roles that have their diff --git a/lib/MooseX/Role/Parameterized/Meta/Role/Parameterized.pm b/lib/MooseX/Role/Parameterized/Meta/Role/Parameterized.pm index 5fa6706..4f535ef 100644 --- a/lib/MooseX/Role/Parameterized/Meta/Role/Parameterized.pm +++ b/lib/MooseX/Role/Parameterized/Meta/Role/Parameterized.pm @@ -2,8 +2,6 @@ package MooseX::Role::Parameterized::Meta::Role::Parameterized; use Moose; extends 'Moose::Meta::Role'; -# ABSTRACT: metaclass for parameterized roles - use MooseX::Role::Parameterized::Parameters; has parameters => ( @@ -18,6 +16,10 @@ no Moose; __END__ +=head1 NAME + +MooseX::Role::Parameterized::Meta::Role::Parameterized - metaclass for parameterized roles + =head1 DESCRIPTION This is the metaclass for parameteriz-ed roles; that is, parameteriz-able roles diff --git a/lib/MooseX/Role/Parameterized/Parameters.pm b/lib/MooseX/Role/Parameterized/Parameters.pm index 5c68878..5846e38 100644 --- a/lib/MooseX/Role/Parameterized/Parameters.pm +++ b/lib/MooseX/Role/Parameterized/Parameters.pm @@ -1,8 +1,6 @@ package MooseX::Role::Parameterized::Parameters; use Moose; -# ABSTRACT: base class for parameters - __PACKAGE__->meta->make_immutable; no Moose; @@ -10,6 +8,10 @@ no Moose; __END__ +=head1 NAME + +MooseX::Role::Parameterized::Parameters - base class for parameters + =head1 DESCRIPTION This is the base class for parameter objects. Currently empty, but I reserve diff --git a/lib/MooseX/Role/Parameterized/Tutorial.pm b/lib/MooseX/Role/Parameterized/Tutorial.pm index eab3c8d..af18902 100644 --- a/lib/MooseX/Role/Parameterized/Tutorial.pm +++ b/lib/MooseX/Role/Parameterized/Tutorial.pm @@ -1,10 +1,12 @@ package MooseX::Role::Parameterized::Tutorial; confess "Don't use this module, read it!"; -# ABSTRACT: why and how - __END__ +=head1 NAME + +MooseX::Role::Parameterized::Tutorial - why and how + =head1 MOTIVATION Roles are composable units of behavior. They are useful for factoring out