perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steven Lembark <>
Subject Re: recompiling perl
Date Wed, 18 May 2016 14:13:09 GMT
On Tue, 10 May 2016 09:13:27 -0500
Hiram Gibbard <> 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                                      +1 888 359 3508

View raw message