NAME

Data::Object::Code

ABSTRACT

Data-Object Code Class

SYNOPSIS

use Data::Object::Code;

my $code = Data::Object::Code->new(sub { shift + 1 });

DESCRIPTION

This package provides routines for operating on Perl 5 code references.

METHODS

This package implements the following methods.

self

self() : Object

The self method returns the calling object (noop).

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

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

On GitHub

Initiatives

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