mod_perl 1.0 to 2.0 migration

Xinhuan Zheng <[email protected]> Mon, 21 Nov 2022 15:16:54 +0000
Newsgroups gmane.comp.apache.mod-perl
Message-ID <[email protected]>
Hi All,

We need to migrate our codebase from mod_perl 1.0 to 2.0. In our codebase, we have used “use Apache::Constants”. We want to change it to be like: https://perl.apache.org/docs/2.0/user/porting/compat.html#mod_perl_1_0_and_2_0_Constants_Coexistence. Our codebase are not only used in mod_perl environment, they are also used in Non mod_perl environment, like standalone program calling the modules in codebase. What should we change for “use Apache::Constants” in Non mod_perl environment?

Thank you,

Xinhuan