script/rdap-epp.pl untested

filter: Statementstmt 0.0% 0 / 24 Branchbran 0.0% 0 / 6 Conditioncond 0.0% 0 / 3 MC/DCmcdc 0.0% 0 / 2 Subroutinesub 0.0% 0 / 5 Podpod n/a totaltotal 0.0% 0 / 40 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 #!/usr/bin/env perl
2 # PODNAME: an example RDAP Server using Net::RDAP::Server::EPPBackend.
3 use Net::RDAP::Server::EPPBackend;
4 use Pod::Usage;
5 use Getopt::Long;
6 use YAML::XS;
7 use strict;
8  
9 my ($cfile, $help);
10 pod2usage(1) unless (GetOptions('help' => \$help, 'config=s' => \$cfile));
11 pod2usage(0) if ($help);
12  
13 $cfile ||= shift(@ARGV);
14 pod2usage(1) unless (-r $cfile);
15  
16 my $server = Net::RDAP::Server::EPPBackend->new();
17  
18 $server->set_backend(%{YAML::XS::LoadFile($cfile)});
19  
20 $server->run;
21  
22 __END__