NAME

Data::Object::Any

ABSTRACT

Data-Object Any Class

SYNOPSIS

use Data::Object::Any;

my $any = Data::Object::Any->new(\*main);

DESCRIPTION

Data::Object::Any provides routines for operating on any Perl 5 data type.

METHODS

This package implements the following methods.

defined

defined() : NumObject

The defined method returns truthy for defined data.

defined example
my $defined = $self->defined();

eq

eq(Any $arg1) : NumObject

The eq method returns truthy if argument and object data are equal.

eq example
my $eq = $self->eq();

ge

ge(Any $arg1) : NumObject

The ge method returns truthy if argument is greater or equal to the object data.

ge example
my $ge = $self->ge();

gt

gt(Any $arg1) : NumObject

The gt method returns truthy if argument is greater then the object data.

gt example
my $gt = $self->gt();

le

le(Any $arg1) : NumObject

The le method returns truthy if argument is lesser or equal to the object data.

le example
my $le = $self->le();

lt

lt(Any $arg1) : NumObject

The lt method returns truthy if argument is lesser than the object data.

lt example
my $lt = $self->lt();

ne

ne(Any $arg1) : NumObject

The ne method returns truthy if argument and object data are not equal.

ne example
my $ne = $self->ne();

roles

roles() : ArrayRef

The roles method returns consumed roles.

roles example
my $roles = $any->roles();

rules

rules() : ArrayRef

The rules method returns consumed rules.

rules example
my $rules = $any->rules();

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 same terms as the Perl 5 programming language system itself.

STATUS

SEE ALSO

To get the most out of this distribution, consider reading the following:

Data::Object::Class

Data::Object::Role

Data::Object::Rule

Data::Object::Library

Data::Object::Signatures

Contributing

GitHub