feumw has asked for the wisdom of the Perl Monks concerning the following question:
Sry for this weak title, but I don't have any idea for a better one.
I'm working on a rockylinux. There is perl preinstalled /usr/bin/perl. I installed mod_perl via yum and used apache/perl-status to check on it. Based on perl-status: I can see version + modules:
Embedded Perl version v5.26.3 for Apache/2.4.37 (rocky) mod_perl/2.0.1 +2 Perl/v5.26.3 process 12268, @INC = /MYSTUFF/dev/site/modules/collection /MYSTUFF/dev/site/modules/core /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 /etc/httpd /MYSTUFF/dev/site/modules/fallback
1) How do you update mod_perl? Let's just pretend I wanted to update mod_perl to use a newer perl version. Do I have to compile it by myself while linking to my local installed perl?
2) Does this mean mod_perl will by default use my local perl modules (@INC)?
3) Why can I install mod_perl from my package manager without him knowing which perl I got? Does it just look for the system default one and use this one? Then 1) would be a false idea?
Ending this, one more question regarding cpan. Does it matter under which user I install perl-modules using cpan? So far I use root because I get some permission issues e.g. while installing DBI.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Questions about mod_perl modules and dependencies.
by hippo (Archbishop) on Mar 30, 2022 at 10:10 UTC | |
by feumw (Sexton) on Apr 04, 2022 at 10:07 UTC | |
by hippo (Archbishop) on Apr 04, 2022 at 12:52 UTC | |
by feumw (Sexton) on Apr 05, 2022 at 05:40 UTC |