简体   繁体   中英

Is Apache::Request (old perl/apache) the same as HTTP::Request (new perl/Apache)?

Hello Perl warriors.

I'm totally new to the language and have been placed on a interesting project of porting an application that was originally written for Apache 1.3 (and the older Perl), to RHEL / CentOS 6 with Apache 2.2.x and mod_perl.

As for calling in lib's:

is

Apache::Request (old perl/apache) the same as HTTP::Request (Apache2, mod_perl)?

Additionally, if anyone has any resources they have found to be particularly useful during a perl upgrade / porting project, it would be greatly appreciated.

No, HTTP::Request is part of the LWP ecosystem and is used for constructing client-side HTTP requests for Perl HTTP clients.

You're probably looking for Apache2::Request which is part of the libapreq distribution for Apache 2.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM