Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot

Re: RFC: (Do Not) Modify the System Perl

by sundialsvc4 (Abbot)
on Oct 21, 2015 at 15:17 UTC ( [id://1145568]=note: print w/replies, xml ) Need Help??

in reply to RFC: (Do Not) Modify the System Perl

In practice, this is very much like “installing Perl packages as a non-root user,” i.e. the shared-hosting situation.   I used to try to engineer the value of PERL5LIB to contain a certain value, but most recently I’ll use a stub script that issues use lib statements, then instantiates an object representing the main routine and invokes it, doing all of these things within an eval{} error-trap block.

As stated earlier, I will explicitly install whatever is needed by a particular application, into a private library-directory, always using cpan so that all installation scripts and dependencies are correctly handled.   If the system-Perl environment is updated, you may need to re-install one or more packages.   Only once did I encounter a too-old .so-file issue, and for various arcane reasons I had to switch hosting-companies in order to solve it.   (Shared-hosting providers are becoming increasingly restrictive, for obvious reasons.)

Log In?

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

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (3)
As of 2024-06-17 15:55 GMT
Find Nodes?
    Voting Booth?

    No recent polls found

    erzuuli‥ 🛈The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.