Coat::Object.3pm

Langue: en

Version: 2008-11-24 (debian - 07/07/09)

Section: 3 (Bibliothèques de fonctions)

NAME

Coat::Object - The mother class for each class that uses Coat

DESCRIPTION

When a class is described with Coat, each instance of that class will inherit from Coat::Object.

This is the mother-class for each Coat-created objects, it provides a basic default constructor and access to the meta-class.

METHODS

new

This is the default constructor, it creates a new object for your class and calls init with the arguments given.

init

This method initialize the instance: basically, setting default values to attributes and setting values received (passed to the ``new'' method).

meta

Returns the meta-calss description: attributes declared with properties.

SEE ALSO

See "Coat", the meta-class for Coat::Object's.

See also "Moose", the mother of Coat.

AUTHORS

This module was written by Alexis Sukrieh <sukria+perl@sukria.net>

Strong and helpful reviews were made by Stevan Little and Matt (mst) Trout ; this module wouldn't be there without their help. Huge thank to them.

Copyright 2007 by Alexis Sukrieh.

<http://www.sukria.net/perl/coat/>

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.