NAME

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

SYNOPSIS

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

has 'cidr' => ( is => 'ro', isa => CIDR );

package main;
Class->new( cidr => '192.168.1.1/32' );

DESCRIPTION

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

EXPORT

None by default, you'll usually want to request Net::CIDR explicitly.

SUPPORT

You can find documentation for this module with the perldoc command.

perldoc MooseX::Types::CIDR

You can also look for information at: