Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: When to bundle Perl with your app?

by sundialsvc4 (Abbot)
on May 28, 2014 at 01:48 UTC ( [id://1087596]=note: print w/replies, xml ) Need Help??


in reply to When to bundle Perl with your app?

Well, as usual, “it depends.”   Perl is a very modular system ... unlike, say, PHP, it consists of a tiny language core which “uses” everything that it requires in order to do any particular thing.   One way to do this, say in a production environment, is to standardize all the systems to a known-good configuration.   Another way to do it is to bundle with the Perl app everything that this Perl app needs to run, and to place those components into an isolated directory that only this app will reference.   On the one hand, it is “wasteful.”   (But, who cares anymore?)   It is isolated, therefore very independent.

As a self-confessed “sysadmin,” you are more likely to want to set up and maintain the first scenario, rather than the second.   You will standardize the configuration of every production system, every test and build system, to the same base set of packages, instead of choosing to follow the perlbrew advice.   Neither approach is categorically right nor wrong.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (4)
As of 2024-09-08 23:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    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.