NAME

Data::Object::Role::Type

ABSTRACT

Data-Object Type Role

SYNOPSIS

  use Data::Object::Class;

  with 'Data::Object::Role::Type';

DESCRIPTION

Data::Object::Role::Type provides routines for operating on Perl 5 data objects which meet the criteria for being considered type objects.

METHODS

This package implements the following methods.

methods

  methods() : ArrayRef

The methods method returns all object functions and methods.

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

type

  type() : StrObject

The type method returns object type string.

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