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

NAME

Data::Object::Role::Detract - Detract Object Role for Perl 5

VERSION

version 0.59

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

data

    # given $detract

    $detract->data; # original value

The data method returns the original and underlying value contained by the object. This method is an alias to the detract method.

detract

    # given $detract

    $detract->detract; # original value

The detract method returns the original and underlying value contained by the object.

SEE ALSO

AUTHOR

Al Newkirk <anewkirk@ana.io>

COPYRIGHT AND LICENSE

This software is copyright (c) 2014 by Al Newkirk.

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