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

codify(Object $arg1, Any @args) : CodeRef

Returns a parameterized coderef from a string.

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