Subject: | Improove Module::Load (+attaches) |
Date: | Sun, 1 Jul 2012 08:42:17 +0400 |
To: | bug-module-load [...] rt.cpan.org |
From: | <reisub [...] ya.ru> |
Hello.
I've added some new features (patchfile to Module::Load VER:0.22):
subs:
- autoload($module, @opt) (like load but load defaults; usable under
BEGIN{};);
- load_remote($dst_pkg, $module, @opt) (like load, but load
$module into $dst_pkg and import @opt)
- autoload_remote($dst_pkg, $module, @opt) (like autoload, but
autload into $dst_pkg package)
opts:
"","none",undef - don't import load,autoload (import by default)
"load","autoload","load_remote","autoload_remote" - import selected
"all - import all
But no documentation about new features yet. Testfile keep tests for
new features.
Regards,
Nick.