Net-IPAddress-Util

 view release on metacpan or  search on metacpan

t/11-autarch.t  view on Meta::CPAN

#!/usr/bin/env perl

BEGIN {
  if ($] ge '5.012') {
    use strict;
    use warnings;
  }
}

use lib '.';
use Net::IPAddress::Util qw( :constr );
use Net::IPAddress::Util::Range;
use Net::IPAddress::Util::Collection;
use Test::More tests => 1;

$Net::IPAddress::Util::DIE_ON_ERROR = 1;
$Net::IPAddress::Util::PROMOTE_N32 = 0;

{
  # diag('autarch CVE');
  my $test = IP('010.168.0.1');
  is($test->str(), '8.168.0.1', "autarch CVE");
}



( run in 2.622 seconds using v1.01-cache-2.11-cpan-b16cb0d3907 )