Kyle Hultman > MooseX-Types-IPv4-0.03 > MooseX::Types::IPv4

Download:
MooseX-Types-IPv4-0.03.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  1
Open  0
View/Report Bugs
Module Version: 0.03   Source  

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.

syntax highlighting: