当执行下面的代码时,即使我成功安装了模块mod_perl2
,也会得到错误Could not find or load mod_perl at C:\Perl\site\lib\SOAP\Transport\HTTP.pm line 741
。当我尝试使用SOAP :: Transport :: HTTP :: Apache时,为什么perl不能找到mod_perl?
代码:
!#/usr/bin/perl
use SOAP::Transport::HTTP;
SOAP::Transport::HTTP::Apache -> dispatch_to('WorldFunctions') -> handle;
package WorldFunctions; sub new { bless {}, shift; }
我怎样才能解决这个问题?
什么是'mod_apache2'? – 2012-04-14 23:12:07
对不起:我的意思是mod_perl2 – Wael 2012-04-16 08:41:50