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();

new

  new(Any $arg1) : AnyObject

Construct a new object.

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

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();

ROLES

This package inherits all behavior from the folowing role(s):

RULES

This package adheres to the requirements in the folowing rule(s):