NAME
Data::Object::Types
ABSTRACT
Data-Object Type Constraints
SYNOPSIS
DESCRIPTION
This package provides type constraints for Data::Object.
CONSTRAINTS
This package declares the following type constraints:
argsobj
ArgsObj
This type is defined in the Data::Object::Types library.
- argsobj example #1
-
# package ArgsExample;
# use Data::Object::Class;
# extends 'Data::Object::Args';
package
main;
bless
{},
'ArgsExample'
;
argsobject
ArgsObject
This type is defined in the Data::Object::Types library.
- argsobject example #1
-
# package ArgsExample;
# use Data::Object::Class;
# extends 'Data::Object::Args';
package
main;
bless
{},
'ArgsExample'
;
arrayobj
ArrayObj
This type is defined in the Data::Object::Types library.
- arrayobj example #1
-
# package ArrayExample;
# use Data::Object::Class;
# extends 'Data::Object::Array';
package
main;
bless
[],
'ArrayExample'
;
arrayobject
ArrayObject
This type is defined in the Data::Object::Types library.
- arrayobject example #1
-
# package ArrayExample;
# use Data::Object::Class;
# extends 'Data::Object::Array';
package
main;
bless
[],
'ArrayExample'
;
boolobj
BoolObj
This type is defined in the Data::Object::Types library.
- boolobj example #1
-
# package BooleanExample;
# use Data::Object::Class;
# extends 'Data::Object::Boolean';
package
main;
my
$bool
= 1;
bless
\
$bool
,
'BooleanExample'
;
boolobject
BoolObject
This type is defined in the Data::Object::Types library.
- boolobject example #1
-
# package BooleanExample;
# use Data::Object::Class;
# extends 'Data::Object::Boolean';
package
main;
my
$bool
= 1;
bless
\
$bool
,
'BooleanExample'
;
booleanobj
BooleanObj
This type is defined in the Data::Object::Types library.
- booleanobj example #1
-
# package BooleanExample;
# use Data::Object::Class;
# extends 'Data::Object::Boolean';
package
main;
my
$bool
= 1;
bless
\
$bool
,
'BooleanExample'
;
booleanobject
BooleanObject
This type is defined in the Data::Object::Types library.
- booleanobject example #1
-
# package BooleanExample;
# use Data::Object::Class;
# extends 'Data::Object::Boolean';
package
main;
my
$bool
= 1;
bless
\
$bool
,
'BooleanExample'
;
cliobj
CliObj
This type is defined in the Data::Object::Types library.
- cliobj example #1
-
# package CliExample;
# use Data::Object::Class;
# extends 'Data::Object::Cli';
package
main;
bless
{},
'CliExample'
;
cliobject
CliObject
This type is defined in the Data::Object::Types library.
- cliobject example #1
-
# package CliExample;
# use Data::Object::Class;
# extends 'Data::Object::Cli';
package
main;
bless
{},
'CliExample'
;
codeobj
CodeObj
This type is defined in the Data::Object::Types library.
- codeobj example #1
-
# package CodeExample;
# use Data::Object::Class;
# extends 'Data::Object::Code';
package
main;
bless
sub
{},
'CodeExample'
;
codeobject
CodeObject
This type is defined in the Data::Object::Types library.
- codeobject example #1
-
# package CodeExample;
# use Data::Object::Class;
# extends 'Data::Object::Code';
package
main;
bless
sub
{},
'CodeExample'
;
dataobj
DataObj
This type is defined in the Data::Object::Types library.
- dataobj example #1
-
# package DataExample;
# use Data::Object::Class;
# extends 'Data::Object::Data';
package
main;
bless
{},
'DataExample'
;
dataobject
DataObject
This type is defined in the Data::Object::Types library.
- dataobject example #1
-
# package DataExample;
# use Data::Object::Class;
# extends 'Data::Object::Data';
package
main;
bless
{},
'DataExample'
;
doargs
DoArgs
This type is defined in the Data::Object::Types library.
- doargs example #1
-
# package ArgsExample;
# use Data::Object::Class;
# extends 'Data::Object::Args';
package
main;
bless
{},
'ArgsExample'
;
doarray
DoArray
This type is defined in the Data::Object::Types library.
- doarray example #1
-
# package ArrayExample;
# use Data::Object::Class;
# extends 'Data::Object::Array';
package
main;
bless
[],
'ArrayExample'
;
doboolean
DoBoolean
This type is defined in the Data::Object::Types library.
- doboolean example #1
-
# package BooleanExample;
# use Data::Object::Class;
# extends 'Data::Object::Boolean';
package
main;
my
$bool
= 1;
bless
\
$bool
,
'BooleanExample'
;
docli
DoCli
This type is defined in the Data::Object::Types library.
- docli example #1
-
# package CliExample;
# use Data::Object::Class;
# extends 'Data::Object::Cli';
package
main;
bless
{},
'CliExample'
;
docode
DoCode
This type is defined in the Data::Object::Types library.
- docode example #1
-
# package CodeExample;
# use Data::Object::Class;
# extends 'Data::Object::Code';
package
main;
bless
sub
{},
'CodeExample'
;
dodata
DoData
This type is defined in the Data::Object::Types library.
- dodata example #1
-
# package DataExample;
# use Data::Object::Class;
# extends 'Data::Object::Data';
package
main;
bless
{},
'DataExample'
;
dodumpable
DoDumpable
This type is defined in the Data::Object::Types library.
- dodumpable example #1
-
# package DumpableExample;
# use Data::Object::Class;
# with 'Data::Object::Role::Dumpable';
package
main;
bless
{},
'DumpableExample'
;
doexception
DoException
This type is defined in the Data::Object::Types library.
- doexception example #1
-
# package ExceptionExample;
# use Data::Object::Class;
# extends 'Data::Object::Exception';
package
main;
bless
{},
'ExceptionExample'
;
dofloat
DoFloat
This type is defined in the Data::Object::Types library.
- dofloat example #1
-
# package FloatExample;
# use Data::Object::Class;
# extends 'Data::Object::Float';
package
main;
my
$float
= 1.23;
bless
\
$float
,
'FloatExample'
;
dofunc
DoFunc
This type is defined in the Data::Object::Types library.
- dofunc example #1
-
# package FuncExample;
# use Data::Object::Class;
# extends 'Data::Object::Func';
package
main;
bless
{},
'FuncExample'
;
dohash
DoHash
This type is defined in the Data::Object::Types library.
- dohash example #1
-
# package HashExample;
# use Data::Object::Class;
# extends 'Data::Object::Hash';
package
main;
bless
{},
'HashExample'
;
doimmutable
DoImmutable
This type is defined in the Data::Object::Types library.
- doimmutable example #1
-
# package ImmutableExample;
# use Data::Object::Class;
# with 'Data::Object::Role::Immutable';
package
main;
bless
{},
'ImmutableExample'
;
donum
DoNum
This type is defined in the Data::Object::Types library.
- donum example #1
-
# package NumberExample;
# use Data::Object::Class;
# extends 'Data::Object::Number';
package
main;
my
$num
= 123;
bless
\
$num
,
'NumberExample'
;
doopts
DoOpts
This type is defined in the Data::Object::Types library.
- doopts example #1
-
# package OptsExample;
# use Data::Object::Class;
# extends 'Data::Object::Opts';
package
main;
bless
{},
'OptsExample'
;
doregexp
DoRegexp
This type is defined in the Data::Object::Types library.
- doregexp example #1
-
# package RegexpExample;
# use Data::Object::Class;
# extends 'Data::Object::Regexp';
package
main;
bless
{},
'RegexpExample'
;
doreplace
DoReplace
This type is defined in the Data::Object::Types library.
- doreplace example #1
-
# package ReplaceExample;
# use Data::Object::Class;
# extends 'Data::Object::Replace';
package
main;
bless
{},
'ReplaceExample'
;
doscalar
DoScalar
This type is defined in the Data::Object::Types library.
- doscalar example #1
-
# package ScalarExample;
# use Data::Object::Class;
# extends 'Data::Object::Scalar';
package
main;
my
$scalar
=
'abc'
;
bless
\
$scalar
,
'ScalarExample'
;
dosearch
DoSearch
This type is defined in the Data::Object::Types library.
- dosearch example #1
-
# package SearchExample;
# use Data::Object::Class;
# extends 'Data::Object::Search';
package
main;
bless
{},
'SearchExample'
;
dospace
DoSpace
This type is defined in the Data::Object::Types library.
- dospace example #1
-
# package SpaceExample;
# use Data::Object::Class;
# extends 'Data::Object::Space';
package
main;
bless
{},
'SpaceExample'
;
dostashable
DoStashable
This type is defined in the Data::Object::Types library.
- dostashable example #1
-
# package StashableExample;
# use Data::Object::Class;
# with 'Data::Object::Role::Stashable';
package
main;
bless
{},
'StashableExample'
;
dostate
DoState
This type is defined in the Data::Object::Types library.
- dostate example #1
-
# package StateExample;
# use Data::Object::Class;
# extends 'Data::Object::State';
package
main;
bless
{},
'StateExample'
;
dostr
DoStr
This type is defined in the Data::Object::Types library.
- dostr example #1
-
# package StringExample;
# use Data::Object::Class;
# extends 'Data::Object::String';
package
main;
my
$string
=
'abc'
;
bless
\
$string
,
'StringExample'
;
dostruct
DoStruct
This type is defined in the Data::Object::Types library.
- dostruct example #1
-
# package StructExample;
# use Data::Object::Class;
# extends 'Data::Object::Struct';
package
main;
bless
{},
'StructExample'
;
dothrowable
DoThrowable
This type is defined in the Data::Object::Types library.
- dothrowable example #1
-
# package ThrowableExample;
# use Data::Object::Class;
# with 'Data::Object::Role::Throwable';
package
main;
bless
{},
'ThrowableExample'
;
doundef
DoUndef
This type is defined in the Data::Object::Types library.
- doundef example #1
-
# package UndefExample;
# use Data::Object::Class;
# extends 'Data::Object::Undef';
my
$undef
=
undef
;
bless
\
$undef
,
'UndefExample'
;
dovars
DoVars
This type is defined in the Data::Object::Types library.
- dovars example #1
-
# package VarsExample;
# use Data::Object::Class;
# extends 'Data::Object::Vars';
package
main;
bless
{},
'VarsExample'
;
dumpable
Dumpable
This type is defined in the Data::Object::Types library.
- dumpable example #1
-
# package DumpableExample;
# use Data::Object::Class;
# with 'Data::Object::Role::Dumpable';
package
main;
bless
{},
'DumpableExample'
;
exceptionobj
ExceptionObj
This type is defined in the Data::Object::Types library.
- exceptionobj example #1
-
# package ExceptionExample;
# use Data::Object::Class;
# extends 'Data::Object::Exception';
package
main;
bless
{},
'ExceptionExample'
;
exceptionobject
ExceptionObject
This type is defined in the Data::Object::Types library.
- exceptionobject example #1
-
# package ExceptionExample;
# use Data::Object::Class;
# extends 'Data::Object::Exception';
package
main;
bless
{},
'ExceptionExample'
;
floatobj
FloatObj
This type is defined in the Data::Object::Types library.
- floatobj example #1
-
# package FloatExample;
# use Data::Object::Class;
# extends 'Data::Object::Float';
package
main;
my
$float
= 1.23;
bless
\
$float
,
'FloatExample'
;
floatobject
FloatObject
This type is defined in the Data::Object::Types library.
- floatobject example #1
-
# package FloatExample;
# use Data::Object::Class;
# extends 'Data::Object::Float';
package
main;
my
$float
= 1.23;
bless
\
$float
,
'FloatExample'
;
funcobj
FuncObj
This type is defined in the Data::Object::Types library.
- funcobj example #1
-
# package FuncExample;
# use Data::Object::Class;
# extends 'Data::Object::Func';
package
main;
bless
{},
'FuncExample'
;
funcobject
FuncObject
This type is defined in the Data::Object::Types library.
- funcobject example #1
-
# package FuncExample;
# use Data::Object::Class;
# extends 'Data::Object::Func';
package
main;
bless
{},
'FuncExample'
;
hashobj
HashObj
This type is defined in the Data::Object::Types library.
- hashobj example #1
-
# package HashExample;
# use Data::Object::Class;
# extends 'Data::Object::Hash';
package
main;
bless
{},
'HashExample'
;
hashobject
HashObject
This type is defined in the Data::Object::Types library.
- hashobject example #1
-
# package HashExample;
# use Data::Object::Class;
# extends 'Data::Object::Hash';
package
main;
bless
{},
'HashExample'
;
immutable
Immutable
This type is defined in the Data::Object::Types library.
- immutable example #1
-
# package ImmutableExample;
# use Data::Object::Class;
# with 'Data::Object::Role::Immutable';
package
main;
bless
{},
'ImmutableExample'
;
numobj
NumObj
This type is defined in the Data::Object::Types library.
- numobj example #1
-
# package NumberExample;
# use Data::Object::Class;
# extends 'Data::Object::Number';
package
main;
my
$num
= 123;
bless
\
$num
,
'NumberExample'
;
numobject
NumObject
This type is defined in the Data::Object::Types library.
- numobject example #1
-
# package NumberExample;
# use Data::Object::Class;
# extends 'Data::Object::Number';
package
main;
my
$num
= 123;
bless
\
$num
,
'NumberExample'
;
numberobj
NumberObj
This type is defined in the Data::Object::Types library.
- numberobj example #1
-
# package NumberExample;
# use Data::Object::Class;
# extends 'Data::Object::Number';
package
main;
my
$num
= 123;
bless
\
$num
,
'NumberExample'
;
numberobject
NumberObject
This type is defined in the Data::Object::Types library.
- numberobject example #1
-
# package NumberExample;
# use Data::Object::Class;
# extends 'Data::Object::Number';
package
main;
my
$num
= 123;
bless
\
$num
,
'NumberExample'
;
optsobj
OptsObj
This type is defined in the Data::Object::Types library.
- optsobj example #1
-
# package OptsExample;
# use Data::Object::Class;
# extends 'Data::Object::Opts';
package
main;
bless
{},
'OptsExample'
;
optsobject
OptsObject
This type is defined in the Data::Object::Types library.
- optsobject example #1
-
# package OptsExample;
# use Data::Object::Class;
# extends 'Data::Object::Opts';
package
main;
bless
{},
'OptsExample'
;
regexpobj
RegexpObj
This type is defined in the Data::Object::Types library.
- regexpobj example #1
-
# package RegexpExample;
# use Data::Object::Class;
# extends 'Data::Object::Regexp';
package
main;
bless
{},
'RegexpExample'
;
regexpobject
RegexpObject
This type is defined in the Data::Object::Types library.
- regexpobject example #1
-
# package RegexpExample;
# use Data::Object::Class;
# extends 'Data::Object::Regexp';
package
main;
bless
{},
'RegexpExample'
;
replaceobj
ReplaceObj
This type is defined in the Data::Object::Types library.
- replaceobj example #1
-
# package ReplaceExample;
# use Data::Object::Class;
# extends 'Data::Object::Replace';
package
main;
bless
{},
'ReplaceExample'
;
replaceobject
ReplaceObject
This type is defined in the Data::Object::Types library.
- replaceobject example #1
-
# package ReplaceExample;
# use Data::Object::Class;
# extends 'Data::Object::Replace';
package
main;
bless
{},
'ReplaceExample'
;
scalarobj
ScalarObj
This type is defined in the Data::Object::Types library.
- scalarobj example #1
-
# package ScalarExample;
# use Data::Object::Class;
# extends 'Data::Object::Scalar';
package
main;
my
$scalar
=
'abc'
;
bless
\
$scalar
,
'ScalarExample'
;
scalarobject
ScalarObject
This type is defined in the Data::Object::Types library.
- scalarobject example #1
-
# package ScalarExample;
# use Data::Object::Class;
# extends 'Data::Object::Scalar';
package
main;
my
$scalar
=
'abc'
;
bless
\
$scalar
,
'ScalarExample'
;
searchobj
SearchObj
This type is defined in the Data::Object::Types library.
- searchobj example #1
-
# package SearchExample;
# use Data::Object::Class;
# extends 'Data::Object::Search';
package
main;
bless
{},
'SearchExample'
;
searchobject
SearchObject
This type is defined in the Data::Object::Types library.
- searchobject example #1
-
# package SearchExample;
# use Data::Object::Class;
# extends 'Data::Object::Search';
package
main;
bless
{},
'SearchExample'
;
spaceobj
SpaceObj
This type is defined in the Data::Object::Types library.
- spaceobj example #1
-
# package SpaceExample;
# use Data::Object::Class;
# extends 'Data::Object::Space';
package
main;
bless
{},
'SpaceExample'
;
spaceobject
SpaceObject
This type is defined in the Data::Object::Types library.
- spaceobject example #1
-
# package SpaceExample;
# use Data::Object::Class;
# extends 'Data::Object::Space';
package
main;
bless
{},
'SpaceExample'
;
stashable
Stashable
This type is defined in the Data::Object::Types library.
- stashable example #1
-
# package StashableExample;
# use Data::Object::Class;
# with 'Data::Object::Role::Stashable';
package
main;
bless
{},
'StashableExample'
;
stateobj
StateObj
This type is defined in the Data::Object::Types library.
- stateobj example #1
-
# package StateExample;
# use Data::Object::Class;
# extends 'Data::Object::State';
package
main;
bless
{},
'StateExample'
;
stateobject
StateObject
This type is defined in the Data::Object::Types library.
- stateobject example #1
-
# package StateExample;
# use Data::Object::Class;
# extends 'Data::Object::State';
package
main;
bless
{},
'StateExample'
;
strobj
StrObj
This type is defined in the Data::Object::Types library.
- strobj example #1
-
# package StringExample;
# use Data::Object::Class;
# extends 'Data::Object::String';
package
main;
my
$string
=
'abc'
;
bless
\
$string
,
'StringExample'
;
strobject
StrObject
This type is defined in the Data::Object::Types library.
- strobject example #1
-
# package StringExample;
# use Data::Object::Class;
# extends 'Data::Object::String';
package
main;
my
$string
=
'abc'
;
bless
\
$string
,
'StringExample'
;
stringobj
StringObj
This type is defined in the Data::Object::Types library.
- stringobj example #1
-
# package StringExample;
# use Data::Object::Class;
# extends 'Data::Object::String';
package
main;
my
$string
=
'abc'
;
bless
\
$string
,
'StringExample'
;
stringobject
StringObject
This type is defined in the Data::Object::Types library.
- stringobject example #1
-
# package StringExample;
# use Data::Object::Class;
# extends 'Data::Object::String';
package
main;
my
$string
=
'abc'
;
bless
\
$string
,
'StringExample'
;
structobj
StructObj
This type is defined in the Data::Object::Types library.
- structobj example #1
-
# package StructExample;
# use Data::Object::Class;
# extends 'Data::Object::Struct';
package
main;
bless
{},
'StructExample'
;
structobject
StructObject
This type is defined in the Data::Object::Types library.
- structobject example #1
-
# package StructExample;
# use Data::Object::Class;
# extends 'Data::Object::Struct';
package
main;
bless
{},
'StructExample'
;
throwable
Throwable
This type is defined in the Data::Object::Types library.
- throwable example #1
-
# package ThrowableExample;
# use Data::Object::Class;
# with 'Data::Object::Role::Throwable';
package
main;
bless
{},
'ThrowableExample'
;
undefobj
UndefObj
This type is defined in the Data::Object::Types library.
- undefobj example #1
-
# package UndefExample;
# use Data::Object::Class;
# extends 'Data::Object::Undef';
package
main;
my
$undef
=
undef
;
bless
\
$undef
,
'UndefExample'
;
undefobject
UndefObject
This type is defined in the Data::Object::Types library.
- undefobject example #1
-
# package UndefExample;
# use Data::Object::Class;
# extends 'Data::Object::Undef';
package
main;
my
$undef
=
undef
;
bless
\
$undef
,
'UndefExample'
;
varsobj
VarsObj
This type is defined in the Data::Object::Types library.
- varsobj example #1
-
# package VarsExample;
# use Data::Object::Class;
# extends 'Data::Object::Vars';
package
main;
bless
{},
'VarsExample'
;
varsobject
VarsObject
This type is defined in the Data::Object::Types library.
- varsobject example #1
-
# package VarsExample;
# use Data::Object::Class;
# extends 'Data::Object::Vars';
package
main;
bless
{},
'VarsExample'
;
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 terms of the The Apache License, Version 2.0, as elucidated in the "license file".