【发布时间】:2012-09-23 14:26:42
【问题描述】:
我仍在努力尝试将遗留的 perl 应用程序从 Apache 1.3.x(以及谁真正知道 perl 的版本)移植到 RHEL6 ......这是 Apache 2.2.x / perl 5.10 .x
无论如何,如果有人知道等价于
use Apache::Constants qw(:common :response);
... 需要重构以使用 Apache2 ...
use Apache2::Const qw(:common :response); <--This is _not_ correct.
看起来有 :common,但是 :response 抛出错误:“unknown apache2_const:: group `response'”
另外,如果有人能在这里“教人钓鱼”,将不胜感激。
【问题讨论】:
标签: perl apache apache2 porting