Class::Structured - provides a more structured class system for Perl


Class-Structured documentation  | view source Contained in the Class-Structured distribution.

Index


NAME

Top

Class::Structured - provides a more structured class system for Perl

DESCRIPTION

Top

Specifically, this function provides for variables with access specifiers that will inherit properly, for constructors, and for abstract functions.

Abstract functions may be used on their own with no performance penalty.

Constructors and access specified variables each imply the use of the other - and will incur a semi-significant performance penalty.

Also, note that when using all of the features it can cause problems to define an AUTOLOAD function - so please don't.

HISTORY

Top

METHODS

Top

declare_abstract

Declares an abstract function in the current package.

list_abstracts

Provides a list of all the abstracts left by a package for subclasses to implement.

check_abstracts

When instantiating a class, make sure that it has declared all the necessary abstracts

constructor

Creates a new constructor.

default_constructor

Creates a new constructor, and also marks it as the default.

implementation

Prototyped sub used to generate syntax

construct

Internal function used to set up a class variable.

define_variables

TODO

Top

BUGS

Top

Probably some

AUTHORS AND COPYRIGHT

Top


Class-Structured documentation  | view source Contained in the Class-Structured distribution.