NAME

MooseX::Types::IPv4 - IP Address types

SYNOPSIS

package MyClass;
use Moose;
use MooseX::Types::IPv4 qw/ip2 ip3 ip4/;
use namespace::autoclean;

has 'ipaddress2' => ( isa => ip2, is => 'rw' required => 1 );
has 'ipaddress3' => ( isa => ip3, is => 'rw' required => 1 );
has 'ipaddress4' => ( isa => ip4, is => 'rw' required => 1 );

DESCRIPTION

Moose type constraints that provide ip validation

SEE ALSO

Moose::Util::TypeConstraints
MooseX::Types

AUTHORS

Kyle Hultman <khultman@gmail.com>

COPYRIGHT

Copyright 2009 the above AUTHORS

LICENSE

This library is free software, you can redistribute it and/or modify it under the same terms as Perl itself.