NAME
Data::Object::Box
ABSTRACT
Boxing for Perl 5 Data Objects
SYNOPSIS
package main;
use Data::Object::Box;
my $boxed = Data::Object::Box->new(
source => [1..4]
);
# my $iterator = $boxed->iterator;
# $iterator->next;
DESCRIPTION
This package provides a pure Perl boxing mechanism for wrapping chaining method calls across data objects.
INTEGRATES
This package integrates behaviors from:
LIBRARIES
This package uses type constraints from:
ATTRIBUTES
This package has the following attributes:
source
source(Any)
This attribute is read-only, accepts (Any)
values, and is optional.
METHODS
This package implements the following methods:
value
value() : Any
The value method returns the underlying wrapped value, i.e. the value in the source
attribute.
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".