SEARCH
NEW RPMS
DIRECTORIES
ABOUT
FAQ
VARIOUS
BLOG
DONATE




YUM REPOSITORY

 
 

MAN page from Mandriva 2011 perl-dnssec-tools-1.5-4mdv2011.0.i586.rpm

BootStrap

Section: User Contributed Perl Documentation (3)
Updated: 2009-02-16
Index 

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 onlyneeded by some of the tools. This module helps determine at run-time, ratherthan at installation time, if the right tools are available on the system.If any module fails to load, dnssec_tools_load_mods() will display anerror message and calls exit(). The error message describes how toinstall a module via CPAN.

The arguments to dnssec_tools_load_mods() are given in pairs. Each pair isa module to try to load (and import) and a supplemental error message. Ifthe module fails to load, the supplemental error message will be displayedalong with the installation-via-CPAN message. If the error message consistsof the string ``noerror'', then no error message will be displayed before thefunction exits. 

CAVEATS

The module will try to import any exported subroutines from themodule into the main namespace. This means that the BootStrap.pmmodule 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-2009 SPARTA, Inc. All rights reserved.See the COPYING file included with the DNSSEC-Tools package for details. 

AUTHOR

Wes Hardaker <hardakerAATTusers.sourceforge.net> 

SEE ALSO

http://www.dnssec-tools.org/


 

Index

NAME
SYNOPSIS
DESCRIPTION
CAVEATS
COPYRIGHT
AUTHOR
SEE ALSO

This document was created byman2html,using the manual pages.