NAME
OP::Any
VERSION
$Id: $
SYNOPSIS
use OP::Any;
DESCRIPTION
Object class wrapper for any type of variable
Extends OP::Scalar
METHODS
Public Class Methods
assert(OP::Class $class: *@rules)
Returns a new OP::Type::Any instance which encapsulates the received OP::Subtype rules.
create "OP::Example" => { # # A *very* casual instance var ... # someVar => OP::Any->assert(optional()), # ... };
new(OP::Class $class: Any $self)
Returns a new OP::Any instance which encapsulates the received value.
my $object = OP::Any->new($stuff);
DIAGNOSTICS
See OP::Class
CONFIGURATION AND ENVIRONMENT
See OP::Class
DEPENDENCIES
See OP::Class
INCOMPATIBILITIES
See OP::Class
BUGS AND LIMITATIONS
OP::Any instances may not be undef
.
See OP::Class
SEE ALSO
This file is part of OP.
1 POD Error
The following errors were encountered while parsing the POD:
- Around line 116:
You forgot a '=back' before '=head1'