dnsmanagerv1/t/00x_dump_cfg_file.t

23 lines
309 B
Raku

use Test::More;
use Modern::Perl;
use YAML::XS;
use URI;
use lib 'lib';
use configuration ':all';
my $x = get_cfg();
#say Dump $x;
say $$x{database}{host};
for($$x{secondarydnsserver})
{
for(@$_)
{
while( my ($k, $v) = each %$_)
{
say $k . ' ' . $v ;
}
}
}