Venus::Box
Box Class
Box Class for Perl 5
method: unbox
package main;
use Venus::Box;
my $box = Venus::Box->new(
value => {},
);
# $box->keys->count->unbox;
This package provides a pure Perl boxing mechanism for wrapping objects and values, and chaining method calls across all objects.
Venus::Role::Buildable Venus::Role::Proxyable
The unbox method returns the un-boxed underlying object. This is a virtual method that dispatches to __handle__unbox. This method supports dispatching, i.e. providing a method name and arguments whose return value will be acted on by this method.
unbox(string $method, any @args) (any)
{ since => '0.01', }
=example-1 unbox
# given: synopsis;
my $unbox = $box->unbox;
# bless({ value => {} }, "Venus::Hash")
t/Venus.t: present: authors t/Venus.t: present: license
12 POD Errors
The following errors were encountered while parsing the POD:
- Around line 13:
Unknown directive: =name
- Around line 21:
Unknown directive: =tagline
- Around line 29:
Unknown directive: =abstract
- Around line 37:
Unknown directive: =includes
- Around line 45:
Unknown directive: =synopsis
- Around line 67:
Unknown directive: =description
- Around line 76:
Unknown directive: =integrates
- Around line 85:
Unknown directive: =method
- Around line 92:
Unknown directive: =signature
- Around line 96:
Unknown directive: =metadata
- Around line 128:
=cut found outside a pod block. Skipping to next block.
- Around line 138:
Unknown directive: =partials