The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

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

VERSION

Version 0.01 (beta)

SYNOPSIS

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

DESCRIPTION

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

You can disable the whole behavior of this class by setting

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

EXPORT

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

METHODS

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

see perldoc of Fukurama::Class