NAME
Data::Object::Role::Numeric - Numeric Object Role for Perl 5
VERSION
version 0.50
SYNOPSIS
use Data::Object::Role::Numeric;
DESCRIPTION
Data::Object::Role::Numeric provides routines for operating on Perl 5 numeric data.
METHODS
downto
# given ...
my $object = $numeric->downto(...);
The downto method returns a ...
eq
# given $numeric
$numeric->eq; # (...)
The eq method returns true if the argument provided is equal to the value represented by the object. This method returns a number object.
ge
# given $numeric
$numeric->ge; # (...)
The ge method returns true if the argument provided is greater-than or equal-to the value represented by the object. This method returns a Data::Object::Number object.
gt
# given $numeric
$numeric->gt; # (...)
The gt method returns true if the argument provided is greater-than the value represented by the object. This method returns a number object.
le
# given $numeric
$numeric->le; # (...)
The le method returns true if the argument provided is less-than or equal-to the value represented by the object. This method returns a Data::Object::Number object.
lt
# given $numeric
$numeric->lt; # (...)
The lt method returns true if the argument provided is less-than the value represented by the object. This method returns a number object.
ne
# given $numeric
$numeric->ne; # (...)
The ne method returns true if the argument provided is not equal to the value represented by the object. This method returns a number object.
to
# given ...
my $object = $numeric->to(...);
The to method returns a ...
upto
# given ...
my $object = $numeric->upto(...);
The upto method returns a ...
SEE ALSO
AUTHOR
Al Newkirk <anewkirk@ana.io>
COPYRIGHT AND LICENSE
This software is copyright (c) 2014 by Al Newkirk.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.