Sawyer X > Coat-0.501 > Coat::Object

Download:
Coat-0.501.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  1
Open  0
View/Report Bugs
Source   Latest Release: Coat-0.502

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 AND LICENSE ^

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.

syntax highlighting: