NAME
Data::Object::Base
ABSTRACT
Data-Object Base Class
SYNOPSIS
use parent 'Data::Object::Base';
DESCRIPTION
Data::Object::Base is an abstract base class that mostly provides identity and classification for Data::Object classes, and common routines for operating on any type of Data-Object object.
METHODS
This package implements the following methods.
class
class() : Str
The class method returns the class name for the given class or object.
space
space(Str $arg1) : Object
The space method returns a Data::Object::Space object for the given class, object or argument.
- space example
-
# given $self (Foo::Bar) $self->space(); # Foo::Bar (space object) $self->space('Foo/Baz'); # Foo::Baz (space object)
type
type() : Str
The type method returns object type string.