Fukurama::Class::Abstract - Pragma to provide abstract classes


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

Index


NAME

Top

Fukurama::Class::Abstract - Pragma to provide abstract classes

VERSION

Top

Version 0.01 (beta)

SYNOPSIS

Top

 package MyClass;
 use Fukurama::Class::Abstract;

DESCRIPTION

Top

This pragma-like module provides functions to check the usage of all class-methods. All calls from childs, which inherits from this class are ok, all other will croak at runtime. Use Fukurama::Class instead, to get all the features for OO.

CONFIG

Top

You can disable the whole behavior of this class by setting

 $Fukurama::Class::Abstract::DISABLE = 1;

EXPORT

Top

All methods of your abstract class would be decorated with a caller-check method.

METHODS

Top

abstract( abstract_class:STRING ) return:VOID

Set the given class as abstract.

run_check( ) return:VOID

Helper method for static perl (see Fukurama::Class > BUGS) This method decorates all non-special subroutines in the registered, abstract classes that all calls would be checked.

AUTHOR, BUGS, SUPPORT, ACKNOWLEDGEMENTS, COPYRIGHT & LICENSE

Top

see perldoc of Fukurama::Class


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