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

NAME

Data::Object::Role::Codifiable

ABSTRACT

Data-Object Codifiable Role

SYNOPSIS

  use Data::Object Class;

  with Data::Object::Role::Codifiable;

DESCRIPTION

Data::Object::Role::Codifiable is a role which provides functionality for converting a specially formatted strings into code references.

METHODS

This package implements the following methods.

codify

  my $codify = $self->codify('($a * $b) + 1_000_000');

Returns a parameterized coderef from a string.