Help for this page

Select Code to Download


  1. or download this
    use Moose::Util::TypeConstraints;
    
    ...
       where { NetAddr::IP->new($_, '255.255.255.255') };
    
    no Moose::Util::TypeConstraints;
    
  2. or download this
    has [ qw/server peer monitor netlog/ ] => (
       is       => 'ro',
       isa      => 'Net::IP::Address',
       required => 1,
    );