NAME
Data::Object::Config
ABSTRACT
Data-Object Package Configuration
SYNOPSIS
use Data::Object::Config;
DESCRIPTION
Data::Object::Config is used to configure the consuming package based on arguments passed to the import statement.
FUNCTIONS
This package implements the following functions.
choose
choose(Str $arg1) : ArrayRef
The choose function returns the configuration (plans) based on the argument passed.
config
config(ArrayRef $arg1) : ArrayRef
The config function returns plans for configuring a package with the standard Data::Object setup.
config_array
config_array() : ArrayRef
The config_array function returns plans for configuring the package to be a Data::Object::Class which extends Data::Object::Array.
config_base
config_base() : ArrayRef
The config_base function returns plans for configuring the package to be a Data::Object::Class which extends Data::Object::Base.
config_class
config_class() : ArrayRef
The config_class function returns plans for configuring the package to be a Data::Object::Class.
config_cli
config_cli() : ArrayRef
The config_cli function returns plans for configuring the package to be a Data::Object::Class which extends Data::Object::Cli.
config_code
config_code() : ArrayRef
The config_code function returns plans for configuring the package to be a Data::Object::Class which extends Data::Object::Code.
config_dispatch
config_dispatch() : ArrayRef
The config_dispatch function returns plans for configuring the package to be a Data::Object::Class which extends Data::Object::Dispatch.
config_exception
config_exception() : ArrayRef
The config_exception function returns plans for configuring the package to be a Data::Object::Class which extends Data::Object::Exception.
config_float
config_float() : ArrayRef
The config_float function returns plans for configuring the package to be a Data::Object::Class which extends Data::Object::Float.
config_hash
config_hash() : ArrayRef
The config_hash function returns plans for configuring the package to be a Data::Object::Class which extends Data::Object::Hash.
config_integer
config_integer() : ArrayRef
The config_integer function returns plans for configuring the package to be a Data::Object::Class which extends Data::Object::Integer.
config_library
config_library() : ArrayRef
The config_library function returns plans for configuring the package to be a Type::Library which extends Data::Object::Library with Type::Utils configured.
config_number
config_number() : ArrayRef
The config_number function returns plans for configuring the package to be a Data::Object::Class which extends Data::Object::Number.
config_regexp
config_regexp() : ArrayRef
The config_regexp function returns plans for configuring the package to be a Data::Object::Class which extends Data::Object::Regexp.
config_replace
config_replace() : ArrayRef
The config_replace function returns plans for configuring the package to be a Data::Object::Class which extends Data::Object::Replace.
config_role
config_role() : ArrayRef
The config_role function returns plans for configuring the package to be a Data::Object::Role.
config_rule
config_rule() : ArrayRef
The config_rule function returns plans for configuring a package to be a Data::Object::Rule.
config_scalar
config_scalar() : ArrayRef
The config_scalar function returns plans for configuring the package to be a Data::Object::Class which extends Data::Object::Scalar.
config_search
config_search() : ArrayRef
The config_search function returns plans for configuring the package to be a Data::Object::Class which extends Data::Object::Search.
config_state
config_state() : ArrayRef
The config_state function returns plans for configuring the package to be a Data::Object::Class which extends Data::Object::State.
config_string
config_string() : ArrayRef
The config_string function returns plans for configuring the package to be a Data::Object::Class which extends Data::Object::String.
config_try
config_try() : ArrayRef
The config_try function returns plans for configuring the package to have try
and catch
constructs for trapping exceptions.
config_type
config_type() : ArrayRef
The config_type function returns plans for configuring the package to be a Data::Object::Class which extends Data::Object::Type.
config_undef
config_undef() : ArrayRef
The config_undef function returns plans for configuring the package to be a Data::Object::Class which extends Data::Object::Undef.
prepare
prepare(Str $arg1, Str $arg2) : ArrayRef
The prepare function returns configuration plans based on the arguments passed.
prepare_add
prepare_add(Str $arg1, Str $arg2) : ArrayRef
The prepare_add function returns an add-plan for the arguments passed.
prepare_call
prepare_call(Str $arg1, Any @args) : ArrayRef
The prepare_call function returns a call-plan for the arguments passed.
prepare_use
prepare_use(Str $arg1, Any @args) : ArrayRef
The prepare_use function returns a use-plan for the arguments passed.
process
process(Str $arg1, ArrayRef $arg2) : Any
The process function executes a series of plans on behalf of the caller.
process_add
process_add(Str $arg1, ArrayRef $arg2) : Any
The process_add function executes the add-plan on behalf of the caller.
process_call
process_call(Str $arg1, ArrayRef $arg2) : Any
The process_call function executes the call-plan on behalf of the caller.
process_use
process_use(Str $arg1, ArrayRef $arg2) : Any
The process_use function executes the use-plan on behalf of the caller.
subject
subject(Str $arg1, Str $arg2) : Int
The subject function returns truthy if both arguments match alphanumerically (not case-sensitive).