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

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

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

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

Thiago Rondon <thiago@aware.com.br>
Aware TI (http://www.aware.com.br/)

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