On Wed, 2003-09-10 at 05:27, Kate L Pugh wrote:
> On Wed 10 Sep 2003, "Kevin C. Krinke" <[EMAIL PROTECTED]> wrote:
> > I have submitted a wish-list bug-report at rt.cpan.org for
> > ExtUtils::MakeMaker regarding a compliment option to the PM_FILTER
> > option for Perl Module files called PL_FILTER.
> 
> Am I right in thinking that one purpose for this would be to have your
> code automatically add 'use lib' lines to scripts in the case when the
> user has asked to install the modules in a private directory?

Absolutely :)

> (I would find this very useful for OpenGuides.  Except that OpenGuides
>  uses Module::Build, so it'd need to be in there.)
> 
> Kake

In fact, here's an excellent example of it's usefulness:

'PL_FILTER' => 'perl -pe "s!\\Q/usr/bin/per\\E!$(FULLPERL)!g"'

This will update all the Perl bin paths to the local system's
installation (example courtesy of Christian Borup).

-- 
Kevin C. Krinke <[EMAIL PROTECTED]>
Open Door Software Inc.

Reply via email to