Hub - Hub Library Interface
Part of the Hub Library
We pollute our symbol table with all of our internal libraries EXPORT_OK symbols so you don't have to.
use Hub; # nothing imported print 'Why hello there, mister ', Hub::getname( $0 ), "\n"; use Hub ':standard'; print 'Excuse me, mister', getname( $0 ), "\n";
In both cases, Hub::Data::File::getname(...) is the implementing method.
Hub::Data::File::getname(...)
Usage: callback SUB
Main invocation method.
Usage: getns NAME, [ADDRESS]
Get namespace.
Intended for Hub library modules only.
Usage: mkinst SHORTNAME
Create an instance (object) by its short name.
See also hubuse.
This example returns: true:
ref( mkinst( 'Logger' ) ) eq 'Hub::Base::Logger';
This example returns: abort:
mkinst( 'DoesNotExist' );
Usage: regns NAME, [VALUE]
Register namespace.
Intended for Hub library modules only.>
Usage: END
Finish library wheel.
Usage: _findmodules DIRECTORY, PACKAGENAME
Searches in the sub-directory of this top-level-module for all library files to represent.
Recursive.
Load external modules.
Share minimal list of standard functions which every module in its right mind would use.
Usage: _load_internal_libs
We want to import all EXPORT_OK methods from packages.
Usage: _sigwarn
Warning handler. Supresses annoyances.
Usage: _tagname MODULENAME
Control which EXPORT_TAGS tag is used depending on module location.
Ryan Gies
Copyright (c) 2006 Livesite Networks, LLC. All rights reserved.
Copyright (c) 2000-2005 Ryan Gies. All rights reserved.
This file created by mkdocs.pl on 8/29/2006 at 2:07pm
To install Hub, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Hub
CPAN shell
perl -MCPAN -e shell install Hub
For more information on module installation, please visit the detailed CPAN module installation guide.