The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Data::Object::Role::Alphabetic - Alphabetic Object Role for Perl 5

VERSION

version 0.59

SYNOPSIS

    use Data::Object::Class;

    with 'Data::Object::Role::Alphabetic';

DESCRIPTION

Data::Object::Role::Alphabetic provides routines for operating on Perl 5 alpha-numeric data.

METHODS

eq

    # given 'exciting'

    $alphabetic->eq('Exciting'); # 0

The eq method returns true if the argument provided is equal to the value represented by the object. This method returns a number value.

ge

    # given 'exciting'

    $alphabetic->ge('Exciting'); # 1

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 'exciting'

    $alphabetic->gt('Exciting'); # 1

The gt method returns true if the argument provided is greater-than the value represented by the object. This method returns a number value.

le

    # given 'exciting'

    $alphabetic->le('Exciting'); # 0

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 'exciting'

    $alphabetic->lt('Exciting'); # 0

The lt method returns true if the argument provided is less-than the value represented by the object. This method returns a number value.

ne

    # given 'exciting'

    $alphabetic->ne('Exciting'); # 1

The ne method returns true if the argument provided is not equal to the value represented by the object. This method returns a number value.

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.