MooseX::Types::CNPJ - CNPJ type for Moose classes
package Class; use Moose; use MooseX::Types::CNPJ qw(CNPJ); has 'cnpj' => ( is => 'ro', isa => CNPJ ); package main; Class->new( cnpj => '00.000.000/0000-00' );
This module lets you constrain attributes to only contain CNPJ. No coercion is attempted.
None by default, you'll usually want to request
Aware TI (http://www.aware.com.br/)
This program is Free software, you may redistribute it under the same terms as Perl itself.