Data::Object::Kind
Abstract Base Class for Data::Object Value Classes
package Data::Object::Hash; use base 'Data::Object::Kind'; sub new { bless {}; } package main; my $hash = Data::Object::Hash->new;
This package provides methods common across all Data::Object value classes.
This package uses type constraints from:
Data::Object::Types
This package implements the following methods:
class() : Str
The class method returns the class name for the given class or object.
# given: synopsis $hash->class; # Data::Object::Hash
detract() : Any
The detract method returns the raw data value for a given object.
# given: synopsis $hash->detract; # {}
space() : SpaceObject
The space method returns a Data::Object::Space object for the given object.
# given: synopsis $hash->space; # <Data::Object::Space>
type() : Str
The type method returns object type string.
# given: synopsis $hash->type; # HASH
Al Newkirk, awncorp@cpan.org
awncorp@cpan.org
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".
Wiki
Project
Initiatives
Milestones
Contributing
Issues
To install Data::Object::Kind, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Data::Object::Kind
CPAN shell
perl -MCPAN -e shell install Data::Object::Kind
For more information on module installation, please visit the detailed CPAN module installation guide.