in reply to Re: adding modules from CPAN to "packaged" mod_perl2
in thread adding modules from CPAN to "packaged" mod_perl2

Fair enough, I might edit the original post as well.

In the case I have mod_perl2 already setup (with RPM, DEB, etc), imagine that I want to write a handler (connection, request) and for that I want to reuse code from CPAN.

I would know to to install modules when I'm using the interpreter outside Apache (several methods to do that) but I'm not sure how to do it when I need to add those modules to the mod_perl2 @INC.

Alceu Rodrigues de Freitas Junior
---------------------------------
"You have enemies? Good. That means you've stood up for something, sometime in your life." - Sir Winston Churchill
  • Comment on Re^2: adding modules from CPAN to "packaged" mod_perl2

Replies are listed 'Best First'.
Re^3: adding modules from CPAN to "packaged" mod_perl2
by hippo (Archbishop) on Dec 05, 2016 at 14:01 UTC

    It's the same procedure. If the module is available as a package, install it via yum/dnf/apt-get. If not, download it from CPAN and follow the installation instructions.