This is an automated email from the git hooks/post-receive script.

gregoa pushed a commit to annotated tag release-0.012
in repository libclass-tiny-perl.

commit ab6c7ef3964d00a021f7b6ec10d895258db6dcc1
Author: David Golden <dagol...@cpan.org>
Date:   Fri Nov 1 16:32:11 2013 -0400

    document issues related to multiple inheritance and subclassing
---
 lib/Class/Tiny.pm | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/lib/Class/Tiny.pm b/lib/Class/Tiny.pm
index 20df398..8354c58 100644
--- a/lib/Class/Tiny.pm
+++ b/lib/Class/Tiny.pm
@@ -208,6 +208,9 @@ code.  Here is a list of features:
 * superclass provides a C<DESTROY> method
 * C<DESTROY> calls C<DEMOLISH> for each class from child to parent
 
+Multiple-inheritance is possible, with superclass order determined via
+L<mro::get_linear_isa|mro/Functions>.
+
 It uses no non-core modules for any recent Perl. On Perls older than v5.10 it
 requires L<MRO::Compat>. On Perls older than v5.14, it requires
 L<Devel::GlobalDestruction>.
@@ -249,6 +252,10 @@ set.  The object is passed as an argument to a code 
reference.
         hire_date => sub { $_[0]->_build_hire_date }, 
     };
 
+When subclassing, if multiple accessors of the same name exist in different
+classes, any default (or lack of default) is determined by standard
+method resolution order.
+
 To make your own custom accessors, just pre-declare the method name before
 loading Class::Tiny:
 

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libclass-tiny-perl.git

_______________________________________________
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits

Reply via email to