Mouse::Object.3pm

Langue: en

Version: 2008-12-09 (ubuntu - 08/07/09)

Section: 3 (Bibliothèques de fonctions)

NAME

Mouse::Object - we don't need to steenkin' constructor

METHODS

new arguments -> object

Instantiates a new Mouse::Object. This is obviously intended for subclasses.

BUILDALL \%args

Calls ``BUILD'' on each class in the class hierarchy. This is called at the end of ``new''.

BUILD \%args

You may put any business logic initialization in BUILD methods. You don't need to redispatch or return any specific value.

BUILDARGS

Lets you override the arguments that "new" takes. Return a hashref of parameters.

DEMOLISHALL

Calls ``DEMOLISH'' on each class in the class hierarchy. This is called at ``DESTROY'' time.

DEMOLISH

You may put any business logic deinitialization in DEMOLISH methods. You don't need to redispatch or return any specific value.