0

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.

Mike Broyles
  • 119
  • 1
  • 1
  • 8

1 Answers1

4

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.

friedo
  • 65,762
  • 16
  • 114
  • 184
  • Thank you. I did a little more digging and found the RPM that corresponds to these modules. (yum install perl-libapreq2) – Mike Broyles Oct 01 '12 at 19:59