NAME

App::Manoc::DB::InflateColumn::IPv4 - Inflator for IP v4 addresses

VERSION

version 2.99.2

SYNOPSIS

package App::Manoc::DB::Result::Table;
use parent 'DBIx::Class';

__PACKAGE__->load_components('+App::Manoc::DB::InflateColumn::IPv4);

__PACKAGE__->add_columns(
  'data_column' => {
    'data_type'    => 'VARCHAR',
    'size'         => 255,
    'ipv4_address' => 1
  }
);

SYNOPSIS

__PACKAGE__->add_column(
  mng_address => {
      data_type    => 'varchar',
      is_nullable  => 0,
      size         => 15,
      ipv4_address => 1,
  }
 );

AUTHORS

  • Gabriele Mambrini <gmambro@cpan.org>

  • Enrico Liguori

COPYRIGHT AND LICENSE

This software is copyright (c) 2017 by Gabriele Mambrini.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.