Re: mod_perl 1.0 to 2.0 migration
Host Cache <[email protected]> Sun, 27 Nov 2022 08:49:29 +0800
| Newsgroups | gmane.comp.apache.mod-perl |
|---|---|
| Message-ID | <[email protected]> |
On 2022-11-21 23:16, Xinhuan Zheng wrote: > 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 > [1]. 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? > That's impossible. Apache::* modules are for modperl only.