NAME

Class::Template - struct/member template builder


SYNOPSIS

    use Class::Template;
    struct(name => { key1 => type1, key2 => type2 });

    package Myobj;
    use Class::Template;
    members Myobj { key1 => type1, key2 => type2 };


DESCRIPTION

This module uses perl5 classes to create nested data types.


EXAMPLES


NOTES

Use '%' if the member should point to an anonymous hash. Use '@' if the member should point to an anonymous array.

When using % and @ the method requires one argument for the key or index into the hash or array.

Prefix the %, @, or $ with '*' to indicate you want to retrieve pointers to the values rather than the values themselves.