Zonemaster::Engine::Util - utility functions for other Zonemaster modules
use Zonemaster::Engine::Util; info(TAG => { some => 'argument'}); my $ns = ns($name, $address); my $name = name('whatever.example.org');
Creates and returns a Zonemaster::Engine::Logger::Entry object. The object is also added to the global logger object's list of entries.
Creates and returns a nameserver object with the given name and address.
Returns a reference to the global policy hash.
Creates and returns a Zonemaster::Engine::DNSName object for the given argument.
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 Basic test module. If it's not, the results are undefined.
This routine provides a special effect: sCraMBliNg tHe CaSe
Check if a test is blacklisted and should run or not.
Check if IP version operations are permitted. Tests are done against Zonemaster::Engine::Profile->effective content.
WIP, here to please Pod::Coverage.
To install Zonemaster::Engine, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Zonemaster::Engine
CPAN shell
perl -MCPAN -e shell install Zonemaster::Engine
For more information on module installation, please visit the detailed CPAN module installation guide.