Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?

Comment on

( #3333=superdoc: print w/replies, xml ) Need Help??

With both perls in turn, issue the command perl -V (with an uppercase V) and notice the list of library search-paths.   This is the current combined list .. the content of @INC .. as taken from all sources including PERL5LIB.

If you are dealing with two different-generation Perls, as here, these lists ought not to intersect at all.   You need to build Perl yourself to do this, in many cases, since the last few entries in the list are hard-coded at compile time.   That’s my rule-of-thumb opinion only ... the safest and most reliable course, although perhaps the most time-consuming since it studiously starts with nothing in-common with its surroundings.

The issue, of course, is XS ... C-language code that is invoked by a CPAN module.   This stuff goes to the heart of Perl, the so called perlguts, and if it was written for a different Perl it just won’t work.   Modules will detect what version is being used at the time that they are installed, and will install themselves accordingly, but if the @INC lists overlap, a subtle mixture of apples and oranges may still occur.

“Older software” tends to be more problematic since it uses “older modules,” and Perl, like all language systems, does evolve over time.

In reply to Re: combination of multiple installed Perls and some environment variables cause segfaults by sundialsvc4
in thread combination of multiple installed Perls and some environment variables cause segfaults by dlamb

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, 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, 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.
  • Log In?

    What's my password?
    Create A New User
    [zentara]: s/thread/cpu/
    [marto]: xkcd://538
    [Discipulus]: these opcodes mentioned in the wiki pages are the same opcode perl is translated into? or is just the same term but in different fields?
    [zentara]: it's useful if you want to lockup a multicore machine :-)
    [zentara]: marto I would give up the key easy with drugs....
    [Corion]: Discipulus: No, the Perl opcodes are more high-level than the raw processor opcodes
    [zentara]: sodium pentathol and a beautiful woman interogator :-)
    [Discipulus]: thanks Corion if so i probably never meet them in my life.. ;=)

    How do I use this? | Other CB clients
    Other Users?
    Others meditating upon the Monastery: (11)
    As of 2017-07-28 12:16 GMT
    Find Nodes?
      Voting Booth?
      I came, I saw, I ...

      Results (428 votes). Check out past polls.