The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

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

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

The data method returns the underlying data structure.

detract

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

The detract method returns the underlying data structure.