色胃康胶囊 发表于 2017-5-17 06:57:39

perl debug(2)

使用mod_perl时,如果需要调试,可以用Apache::DB模块。
# db.pl
use Apahce::DB;
Apache::DB->init;
# httpd.conf
PerlRequire myprog.pm
<Location /myprog>
   SetHandler perl-script
   PerlHandler myprog
</location>
PerlRequire db.pl
<Location /myprog>
   PerlFixUpHandler +Apache::DB
</location>
%>httpd -X
页: [1]
查看完整版本: perl debug(2)