Sorry for answering late.
2) @INC is an array with paths where perl is looking for modules. As far as I know @INC is set to the system default perl (let's call it "system-perl" for now). So if I would install a second perl (let's call it "rh-perl") on my linux it would install perl under /opt/rh-perl/5.xx.x, how does this affect @INC? Would @INC still show the system-perl paths instead of my rh-perl paths? Would it show both paths?
I'd assume each perl version got a different @INC array. system-perl got different path's in it then rh-perl does. So if I would compile mod_perl with rh-perl @INC for mod_perl then would be the new rh-perl paths, right?

Even Rocky 8 is totally fine for me. It's just for an proof of concept where I need perl. The original vm used to be CentOS7 which had perl 5.16.3 which doesn't work for this task.


In reply to Re^2: Questions about mod_perl modules and dependencies. by feumw
in thread Questions about mod_perl modules and dependencies. by feumw

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.