ObjectTools README File ========================= Description ----------- ObjectTools are two pragmas to easily create constructors methods and lvalue accessor methods at compile time. Object::props This pragma allows you to create lvalue accessor methods and set some optional parameters for the property: - 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::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) Installation ------------ 0. Prerequisites: - Perl version 5.6.1 or more recent. 1. CPAN installation perl -MCPAN -e 'install ObjectTools' 2. Standard installation - from the directory where this file is located, type: perl Makefile.PL make make test make install -- Domizio Demichelis 2003-12-17