GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  PARANOID::MODULE (3)

.ds Aq ’

NAME

Paranoid::Module -- Paranoid Module Loading Routines

CONTENTS

VERSION

$Id: Module.pm,v 0.82 2011/12/20 02:59:37 acorliss Exp $

SYNOPSIS



  use Paranoid::Module;

  $rv = loadModule($module, qw(:all));



DESCRIPTION

This provides a single function that allows you to do dynamic loading of modules at runtime, along with importation of the exported symbol table. Specific functions and/or tag sets can be declared, just as you would in a normal <B>useB> or <B>importB> statement.

SUBROUTINES/METHODS

    loadModule



  $rv = loadModule($module, qw(:all));



Accepts a module name and an optional list of arguments to use with the import function. Returns a true or false depending whether the require was successful.

DEPENDENCIES

o Paranoid
o Paranoid::Debug

BUGS AND LIMITATIONS

The <B>loadModuleB> cannot be used to require external files, it can only be used to load modules in the existing library path. In addition, while we track what symbol sets (if any) were imported to the caller’s name space the return value doesn’t reflect the value of the <B>importB> method. This is intentional because not every module out there offers a properly coded <B>importB> function or inherits it from Exporter(3)). The return value from <B>importB> is ignored.

AUTHOR

Arthur Corliss (corliss@digitalmages.com)

LICENSE AND COPYRIGHT

This software is licensed under the same terms as Perl, itself. Please see http://dev.perl.org/licenses/ for more information.

(c) 2005, Arthur Corliss (corliss@digitalmages.com)

Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 PARANOID::MODULE (3) 2011-12-20

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.