MooseX::Types::IPv4 - IP Address types
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 );
Moose type constraints that provide ip validation
Copyright 2009 the above AUTHORS
This library is free software, you can redistribute it and/or modify it under the same terms as Perl itself.