Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

22 lines (14 sloc) 0.354 kB
#!perl
use strict;
use warnings;
use Test::More tests => 4;
our $class;
BEGIN { $class = 'Net::Whois::RIPE'; use_ok $class }
can_ok $class, 'new';
my $whois;
eval { $whois = $class->new; };
SKIP: {
skip "Network issue",2 if ( $@ =~ /IO::Socket::INET/ );
ok(!$@, " $class can create default instance\n$@");
isa_ok $whois, $class;
}
Jump to Line
Something went wrong with that request. Please try again.