The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.
NAME
    MooseX::Types::Locale::Currency - Moose Types related to Locale Currency

VERSION
    version 0.001004

SYNOPSIS
            {
                    package My::Object;
                    use Moose;
                    use MooseX::Types::Locale::Currency qw( CurrencyCode );

                    has currency_code => (
                            is => 'ro',
                            isa => CurrencyCode,
                    );
                    __PACKAGE__->meta->make_immutable;
            }

            my $obj = My::Object->new({
                    currency_code => 'usd'
            });

DESCRIPTION
    This module provides the "CurrencyCode" type.

TYPES
    *   "CurrencyCode"

        Base Type: "enum"

        will validate the the 3 character string passed to it is in the list
        of "all_currency_codes"

        Enabling coercion will allow you to input the ISO 4217 Numeric
        currency code and will convert it into the 3 Alpha character
        currency code.

SEE ALSO
    *   Locale::Currency

BUGS
    Please report any bugs or feature requests on the bugtracker website
    https://github.com/xenoterracide/MooseX-Types-Locale-Currency/issues

    When submitting a bug or request, please include a test-file or a patch
    to an existing test-file that illustrates the bug or desired feature.

AUTHOR
    Caleb Cushing <xenoterracide@gmail.com>

COPYRIGHT AND LICENSE
    This software is Copyright (c) 2011 by Caleb Cushing.

    This is free software, licensed under:

      The Artistic License 2.0 (GPL Compatible)