bionic (3) Zonemaster::Util.3pm.gz

Provided by: libzonemaster-perl_1.0.16-2_all bug

NAME

       Zonemaster::Util - utility functions for other Zonemaster modules

SYNOPSIS

           use Zonemaster::Util;
           info(TAG => { some => 'argument'});
           my $ns = ns($name, $address);
           my $name = name('whatever.example.org');

EXPORTED FUNCTIONS

       info($tag, $href)
           Creates and returns a Zonemaster::Logger::Entry object. The object is also added to the global logger
           object's list of entries.

       ns($name, $address)
           Creates and returns a nameserver object with the given name and address.

       policy()
           Returns a reference to the global policy hash.

       name($string_name_or_zone)
           Creates and returns a Zonemaster::DNSName object for the given argument.

       pod_extract_for($testname)
           Will attempt to extract the POD documentation for the test methods in the test module for which the
           name is given. If it can, it returns a reference to a hash where the keys are the test method names
           and the values the documentation strings.

           This method blindly assumes that the structure of the POD is exactly like that in the Example and
           Basic test modules. If it's not, the results are undefined.

       scramble_case
           This routine provides a special effect: sCraMBliNg tHe CaSe

       supports_ipv6
           Check if ZOnemaster hosting server supports IPv6.