Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^2: adding modules from CPAN to "packaged" mod_perl2

by glasswalk3r (Friar)
on Dec 05, 2016 at 11:43 UTC ( [id://1177207]=note: print w/replies, xml ) Need Help??


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 (Bishop) 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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1177207]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (4)
As of 2024-04-24 19:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found