GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  MOUSE::OBJECT (3)

.ds Aq ’

NAME

Mouse::Object - The base object for Mouse classes

CONTENTS

VERSION

This document describes Mouse version v2.4.5

METHODS

CW$class->new(%args | \%args) -> Object

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

CW$class->BUILDARGS(@args) -> HashRef

Lets you override the arguments that new takes. It must return a HashRef of parameters.

CW$object->BUILDALL(\%args)

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

CW$object->BUILD(\%args)

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

CW$object->DEMOLISHALL

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

CW$object->DEMOLISH

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

CW$object->does($role_name) -> Bool

This will check if the invocant’s class <B>doesB> a given $role_name. This is similar to isa for object, but it checks the roles instead.

CW$object->dump($maxdepth) -> Str

This is a handy utility for dumping an object with Data::Dumper. By default, the maximum depth is 3, to avoid making a mess.

CW$object->meta() -> MetaClass

This is a method which provides access to the object’s metaclass.

SEE ALSO

Moose::Object
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 MOUSE::OBJECT (3) 2016-03-17

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.