OOTools README File
===================


Description
-----------

OOTools are two pragmas to easily create constructors methods and
lvalue accessor methods at compile time.

Class::new
This pragma allows you to create a constructor method and set some optional parameters:
- a method name (default set on 'new')
- an init method(s) (default on '_init' if your class implements it)
 
Class::props
This pragma allows you to create lvalue accessor methods and set some optional
parameters for the property of your class:
- a default value
- a validation code to validate assignments
- a 'protected' flag that allows you to make the property read-only
  when called from outside its class
  
Object::props
This pragma allows you to create lvalue accessor methods and set some optional
parameters for the property of your object:
- a default value
- a validation code to validate assignments
- a 'protected' flag that allows you to make the property read-only
  when called from outside its class
  
    
Installation
------------

0.  Prerequisites:
- Perl version 5.6.1 or more recent.


1. CPAN installation

    perl -MCPAN -e 'install OOTools'


2. Standard installation
- from the directory where this file is located, type:

        perl Makefile.PL
        make
        make test
        make install

--
Domizio Demichelis <dd@4pro.net>
2003-12-19
