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

Comment on

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

In many Linux distributions, Perl packages are, well, packaged, as Linux packages in the standard distro upgrade-mechanism.   Most often, you should just use this and be done.   But of course, sometimes you can’t, because distros tend to lag-behind ... and there is a reason why they do, which is this:   that very-important bits of their own system management software is written in Perl.   You do not want to disrupt that.

So, here’s what to do:   do a Super Search, above, for “install non root,” because your situation is basically identical to that of someone who wants to install Perl in a shared-hosting environment where (s)he does not have access to the root userid.   (Note also that you will not need to be root to do this, either.   You will designate an additional directory to hold “local packages,” then set up cpan or cpanm to know to install to it, then arrange (by some operating-system appropriate means) for the PERL5LIB environment-variable to include it first, as will be confirmed by entering the command perl -V (with a capital V).   Your search will quickly produce about 26 other threads and you should review them all.

The strategy is simple and sound:   first, see if upgrading a Linux-distro package (or ActiveState or Strawberry) solves your problem.   If not, make your upgrades alongside what is already there, in such a way that you supersede them for your own purposes but not theirs.


In reply to Re: safe way to upgrade module by sundialsvc4
in thread safe way to upgrade module by xiaoyafeng

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!
  • 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
  • Outside of code tags, you may need to use entities for some characters:
            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?
    Username:
    Password:

    What's my password?
    Create A New User
    Chatterbox?
    and the web crawler heard nothing...

    How do I use this? | Other CB clients
    Other Users?
    Others exploiting the Monastery: (8)
    As of 2014-09-02 02:21 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      My favorite cookbook is:










      Results (18 votes), past polls