NAME

Data::Object::Role::Detract

ABSTRACT

Data-Object Detract Role

SYNOPSIS

  use Data::Object::Class;

  with 'Data::Object::Role::Detract';

DESCRIPTION

Data::Object::Role::Detract provides routines for operating on Perl 5 data objects which meet the criteria for being detractable.

METHODS

This package implements the following methods.

data

  data() : Any

The data method returns the underlying data structure.

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

detract

  detract() : Any

The detract method returns the underlying data structure.

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