原帖由 cobrawgl 于 2008-12-24 14:12 发表
哦,你要直接用的话,还得 加上 CGI 模块来打印个 header
use CGI qw/:standard/;
use HTML::Template;
...
print header, $template->output;
还有,把那个 log.tmpl 也改改,在 后面加上
...
原帖由 cobrawgl 于 2008-12-24 14:38 发表
收人钱财,替人消灾
重新给你弄个,你设置一下变量就可以了
--------------------------------------------------------------------
#!/usr/bin/perl
use strict;
use warnings;
use C ...
欢迎光临 Chinaunix (http://bbs.chinaunix.net/) | Powered by Discuz! X3.2 |