debian man page for net::dns::sec::tools::bootstrap

Query: net::dns::sec::tools::bootstrap

OS: debian

Section: 3pm

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

BootStrap(3pm)						User Contributed Perl Documentation					    BootStrap(3pm)

NAME
Net::DNS::SEC::Tools::BootStrap - Optional loading of Perl modules
SYNOPSIS
use Net::DNS::SEC::Tools::BootStrap; dnssec_tools_load_mods( PerlModule => 'Additional help/error text' );
DESCRIPTION
The DNSSEC-Tools package requires a number of Perl modules that are only needed by some of the tools. This module helps determine at run- time, rather than at installation time, if the right tools are available on the system. If any module fails to load, dnssec_tools_load_mods() will display an error message and calls exit(). The error message describes how to install a module via CPAN. The arguments to dnssec_tools_load_mods() are given in pairs. Each pair is a module to try to load (and import) and a supplemental error message. If the module fails to load, the supplemental error message will be displayed along with the installation-via-CPAN message. If the error message consists of the string "noerror", then no error message will be displayed before the function exits.
CAVEATS
The module will try to import any exported subroutines from the module into the main namespace. This means that the BootStrap.pm module is likely to not be useful for importing symbols into other modules. Work-arounds for this are: - import the symbols by hand dnssec_tools_load_mods( PerlModule => 'Additional help/error text' ); import PerlModule qw(func1 func2); func1(arg1, arg2); - call the fully qualified function name dnssec_tools_load_mods( PerlModule => 'Additional help/error text' ); PerlModule::func1(arg1, arg2);
COPYRIGHT
Copyright 2006-2012 SPARTA, Inc. All rights reserved. See the COPYING file included with the DNSSEC-Tools package for details.
AUTHOR
Wes Hardaker <hardaker@users.sourceforge.net>
SEE ALSO
http://www.dnssec-tools.org/ perl v5.14.2 2012-01-27 BootStrap(3pm)
Related Man Pages
net::dns::sec::tools::trustanchor(3pm) - debian
autouse(3pm) - mojave
autouse(3pm) - osx
autouse5.18(3pm) - mojave
net::dns::sec::tools::timetrans(3pm) - debian
Similar Topics in the Unix Linux Community
bash: executing commands and reading exit vals
12 Tools To Decrease Website Load Times
DNSSEC-Tools 1.5 (Default branch)
how to create custom modules in perl and how to import all modules with single command?
Dazuko for Fedora 19