NAME
App::Manoc::IPAddress::IPv4 - IPv4 Addresses
VERSION
version 2.99.2
DESCRIPTION
A class for IPv4 addresses. Supports padding, unpadding, stringification and comparison operators.
ATTRIBUTES
numeric
Address integer representation.
padded
unpadded
METHODS
address
Return the address in unpadded form. Automatically called by stringification.
SYNOSPIS
my $addr = App::Manoc::IPAddress::IPv4->new('10.1.100.1');
$addr->padded; # '010.001.100.001'
$addr->unpadded; # '10.1.100.1'
"$addr" eq '10.1.100.1'; # true
$addr > App::Manoc::IPAddress::IPv4->new('2.1.1.1'); # also true
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.