NAME

Data::Object::Base

ABSTRACT

Data-Object Base Class

SYNOPSIS

use parent 'Data::Object::Base';

DESCRIPTION

This package provides an abstract base class used for identity and classification of Data::Object classes.

METHODS

This package implements the following methods.

class

class() : Str

The class method returns the class name for the given class or object.

class example
# given $self (Foo::Bar)

$self->class();

# Foo::Bar (string)

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.

type example
my $type = $self->type();

AUTHOR

Al Newkirk, awncorp@cpan.org

LICENSE

Copyright (C) 2011-2019, Al Newkirk, et al.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

PROJECT

GitHub

Contributing

Reporting

SEE ALSO

To get the most out of this distribution, consider reading the following:

Data::Object::Class

Data::Object::Role

Data::Object::Rule

Data::Object::Library

Data::Object::Signatures