Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??
"...I was told that building an entire Perl build (e.g. perlbrew) with a shipped application was the best way ...I found that concept horrific...a good thing to ship a custom Perl build?"

Mmh, more and more i tend to build Perl using perlbrew.

OK, it's a little bit more work.

But some years ago i fired up cpan to install some missing modules on OS X Server. Somewhere in my older posts i mentioned this already.

It run amok and tried to uninstall/install a few tens of modules and another version of Perl.

I forgot about the awful details but i ended up with a broken unusable production system.

So i jumped to the conclusion that it would be better to have some kind of functional user for a app - having it's own Perl environment.

Quite easy to create a user, put him in the group wheel if needed - and then fire up perlbrew.

There are so many apps that require their own user account/environment. E.g. many come with their own Java environment and their own DB.

So IMHO there is nothing wrong with this approach from a admins point of view. It's common practice.

If things go totally wrong just delete the functional user and its $HOME and start again ;-)

To me, this seems to be much easier than restoring a broken system, even on a test machine. Another good thing: put $HOME under some version control.

Just a few thoughts about this issue. Loosely based on Voronich:

"I think it's not your first rodeo"

Regards, Karl

«The Crux of the Biscuit is the Apostrophe»


In reply to Re: When to bundle Perl with your app? by karlgoethebier
in thread When to bundle Perl with your app? by neilwatson

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, 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?
    Username:
    Password:

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

    How do I use this?Last hourOther CB clients
    Other Users?
    Others musing on the Monastery: (5)
    As of 2024-09-15 06:51 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?
      The PerlMonks site front end has:





      Results (21 votes). Check out past polls.

      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.