---
name: "Coat::Object"
section: "3pm"
platform: "linux"
package: "libcoat-perl"
version: "0.334-1"
release: "Debian 6.0 (Squeeze)"
platforms: ["linux"]
url: "https://new.carta.tech/Coat::Object"
---

# Coat::Object(3pm)

The mother class for each class that uses Coat

## 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.
