Al-HUWAITI Shell
Al-huwaiti


Server : Apache
System : Linux dedi-14684855.grupobig.com 5.14.0-611.49.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Apr 21 16:39:08 EDT 2026 x86_64
User : grupo692 ( 1004)
PHP Version : 8.2.31
Disable Function : NONE
Directory :  /home/.cpan/build/NetAddr-IP-4.079-0/t/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //home/.cpan/build/NetAddr-IP-4.079-0/t/over-arr.t
use NetAddr::IP;
use Test::More;

my @addr = ( [ '10.0.0.0/24', '10.0.0.1/32' ],
	     [ '192.168.0.0/24', '192.168.0.1/32' ],
	     [ '127.0.0.1/32', '127.0.0.1/32' ] );

$| = 1;

$tests = @addr;

plan tests => $tests;

SKIP: {
  skip "overload dereferencing not supported in version $] of Perl", $tests, unless ($overload::ops{dereferencing} && $overload::ops{dereferencing} =~ /\@\{\}/);
  for my $a (@addr) {
    my $ip = new NetAddr::IP $a->[0];
    ok(@$ip[0]->cidr eq $a->[1],$a->[0]);
  }
};

Al-HUWAITI Shell