Classgen-3.03 (12/2000)

Purpose

Simplifies creation, manipulation and usage of complex objects.
Benefits

Description

classgen is a script that allows you to create a Perl-object from a simple control-file. In the control file you basically specify the internal instance-variables this object should have. classgen then generates ASCII-source code (package) for you, which contains:

3.03: * accessor and manipulator methods are stored separated as _gs.pm files 3.03: * .pm and _gs.pm are saved into the /archive directory first 3.03: * if you created a MANIFEST file via h2xs, the _gs.pm file is added 3.03: * the version is set to 1.00 automatically

Installation

To install classgen 'gunzip' and 'tar xvf' the .gz file in a directory of your choice. Next run from this directory:
        perl Makefile.PL
        make
        make install (as root)

There are a few examples in examples/ which include how to extend the generated object for inheritance from base-classes.

Examples

The /examples directory provides code and explainations on:

In the spirit of UML,
Michael Schlueter email: mschlue@cpan.org


Feedback given on Classgen-3.01:

Hi, Michael,

Thanks for the wonderful "classgen" utility, it saves me a lot of typing. (...)

Lieting Yu (lieting@mailconcept.com) 28.6.2000