From ef5e33db6b62726535f778651a191355904c38fa Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Sun, 20 Dec 2009 00:35:56 -0600 Subject: update docs a bit --- lib/MooseX/ABC.pm | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/lib/MooseX/ABC.pm b/lib/MooseX/ABC.pm index 6748acb..8850931 100644 --- a/lib/MooseX/ABC.pm +++ b/lib/MooseX/ABC.pm @@ -31,11 +31,16 @@ MooseX::ABC - abstract base classes for Moose =head1 DESCRIPTION -This module adds basic abstract base class functionality to Moose. Doing -C turns the using class into an abstract class - it cannot be +This module adds basic abstract base class functionality to Moose. Doing C turns the using class into an abstract class - it cannot be instantiated. It also allows you to mark certain methods in the class as L, meaning that if a class inherits from this class without -implementing that method, it will die at compile time. +implementing that method, it will die at compile time. Abstract subclasses are +exempt from this, however - if you extend a class with another class which uses +C, it will not be required to implement every required method (and +it can also add more required methods of its own). Only concrete classes +(classes which do not use C) are required to implement all of +their ancestors' required methods. =cut @@ -71,11 +76,6 @@ sub init_meta { return $ret; } -=head1 TODO - -Probably want a way to extend abstract classes without dying, making the -inheriting class abstract. - =head1 BUGS No known bugs. -- cgit v1.2.3