Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

plugin.pm 中$module 好像没有预先定义 #7

Closed
autodataming opened this issue Mar 7, 2016 · 1 comment
Closed

plugin.pm 中$module 好像没有预先定义 #7

autodataming opened this issue Mar 7, 2016 · 1 comment

Comments

@autodataming
Copy link
Contributor

$module = $module_name;
if(substr($module_name,0,1) eq '+'){
substr($module_name,0,1) = "";
$module = $module_name;
}

为什么要考虑 module的名字带有+ 号?

@hexsum
Copy link
Owner

hexsum commented Mar 7, 2016

$module问题已修复

$client->load("AAA"); 加载Mojo::Weixin::Plugin::AAA包中的call函数(AAA是相对包名)

$client->load("+AAA");加载AAA包中的call函数(AAA是绝对包名)

@hexsum hexsum closed this as completed Mar 7, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants