Re: recompiling perl

Steven Lembark <[email protected]>
Newsgroups gmane.comp.apache.mod-perl
Organization Workhorse Computing
Message-ID <20160518091309.4104c448@cannibal>
On Tue, 10 May 2016 09:13:27 -0500
Hiram Gibbard <[email protected]> wrote:

> If I want to recompile  the mod_perl module so that it points to a custom
> Perl location, is it as simply as editing the following line:
> #!/usr/bin/perl -w

Better off using the path to locate perl:

    #!/bin/env  perl

will do this on linux (env may be "/usr/bin/env" on BSD, Solaris).

One advantage is that this allows you to install a test version of
perl in, say, /opt/perl/5.24 then update your path to include that
directory for testing. 

-- 
Steven Lembark                                             3646 Flora Pl
Workhorse Computing                                   St Louis, MO 63110
[email protected]                                      +1 888 359 3508
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.