请教个perl问题 多谢了
if ($rc) {$tpl->assign(ERROR => sprintf($lang_signup{'add_fail'}, "$user\@$domain").$rc);
} else {
$tpl->assign(SUCCESS => sprintf($lang_signup{'add_ok'}, "$user\@$domain"));
my $dir = $sys->{SYS_CONFIG};
my $base = $sys->{SYS_MAILDIR_BASE};
system("$dir/tools/maildirmake.pl $base/$path/Maildir/");
$tpl->assign(STEP3 => 1)
}
最后一句话$tpl->assign(STEP3 => 1)什么意思? -> 大致有两种用途:
1. 引用reference的数据的元素
2. 对象或模块的方法调用
页:
[1]