On 04/29/2014 09:06 AM, Neil Watson wrote:
> On Tue, Apr 29, 2014 at 05:55:26AM -0700, sri wrote:
>> Personally, at this point i pretty much avoid trying to help folks
>> that
>> are obviously using a system Perl, because it's just too much trouble.
>> (if you know how to use the tools necessary to make it work, such as
>> local::lib, you'd most likely not need my help in the first place)
>
> Are you suggesting that to deploy a Mojo app one should also deploy
> a custom Perl build? And the spend many extra hours maintaining it?
>
Hmm ... we defensively deploy our own Perl that gets built as part of
our tool chain, with Mojolicious and a number of other modules installed
as part of it. If you don't want to build your own build system,
Perl::brew is the way to go. See
http://perlbrew.pl/
You *can* run it against the distro version, but in almost all cases,
for all languages, this is strongly counter-indicated/dis-recommended.
For example: The Perl in RHEL/CentOS 6 has been EOL since 2009. 5
years. See
http://cpan.scalableinformatics.com/src/README.html for more
info. Many many bugfixes and improvements, not simply to the core, but
to the modules around it.
SRI noted some of the reasons. We build our own, quite defensively,
after a long battle trying to make the distro set of Perl's do what we
need. If you change the core distro Perl in any way, it is possible you
will, unwittingly, break an application that *depends* upon the buggy
feature/misfeature to work. We've had this happen so many times, that
we simply gave up on trying to fix it, and built our own.
FWIW: The exact same issue exists with Python, Ruby, R, Octave, ...