NAME

MooseX::Types::CPF - CPF type for Moose classes

SYNOPSIS

package Class;
use Moose;
use MooseX::Types::CPF qw(CPF);

has 'cpf' => ( is => 'ro', isa => CPF );

package main;
Class->new( cpf => '000.000.000-00' );

DESCRIPTION

This module lets you constrain attributes to only contain CPF. No coercion is attempted.

EXPORT

None by default, you'll usually want to request CPF explicitly.

AUTHOR

Thiago Rondon <thiago@aware.com.br>

Aware TI (http://www.aware.com.br/)

COPYRIGHT

This program is Free software, you may redistribute it under the same terms as Perl itself.