dtreqmods - Checks that all required Perl modules are available
dtreqmods [options]
dtreqmods checks that all Perl modules required by the DNSSEC-Tools scripts are available. This includes modules included by other modules. The default action is to print a list of all the modules that were not found. This action may be modified by a number of options.
There are several types of modules checked: DNSSEC Tools modules, DNS Resource Record modules, and everything else. By default, all module types are checked, but there are options to narrow dtreqmods' checking to a subset of these types.
By default, only information is displayed for those modules that aren't found. The -verbose option displays information about all modules. The -quiet option displays no information.
The return code for dtreqmods is the number of missing modules.
Module accessibility is determined by using Perl's require function. Each module is passed to require, and its result determines whether the module is consider available or missing. require looks for the modules in the directories stored in Perl's @INC variable. The contents of this variable, as seen by dtreqmods may be displayed by use of the -inc option.
dtreqmods supports several types of options. These options are detailed below.
These options control the amount of output that is given. Only one display option may be specified in a particular invocation of dtreqmods.
Display information for all modules, missing or found. -verbose and -quiet are mutually exclusive.
Display no information. -quiet and -verbose are mutually exclusive.
Display the modules we check and then exit. -list may only be used with the module-type options.
These options control the types of modules that are displayed.
Check the DNSSEC Tools-related modules.
Check the DNS Resource Record-related modules.
Check the modules that aren't related to DNSSEC Tools or DNS Resource Records.
The remaining options are detailed here.
Display the contents of @INC. The directories are not sorted, but are given in the order listed in @INC.
Display dtreqmods' version information and exit.
Display a usage message and exit.
Copyright 2010-2014 SPARTA, Inc. All rights reserved. See the COPYING file included with the DNSSEC-Tools package for details.
Wayne Morrison, tewok@tislabs.com