[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]

Re: Finding old library directories (was Re: automatic perl module rpm wrapper)



Gurusamy Sarathy <gsar@ActiveState.com> writes:
>
>2. If the answer for #1 is 'y', Configure should look for directories like
>m{(\Q$installprefix\E/lib(/perl5)?/site_perl/(5.\d{3,5}|\d+\.\d+\.\d+))/auto/}
>on the filesystem, and add $1 and $1/archname to the default list
>of directories, if they exist.  (The site library layout actually changed
>in some versions of perl, so additional patterns may need to be looked for.
>Andy knows that history best.)
>
>
>I don't see why hardwiring anything is necessary.  Am I missing some
>desired functionality in the above?

Well some of us use a different installprefix, but that is only 
to stop accidental use of wrong lib directories.

One could go hunting for executable perls a then do 

/path/to/a/perl -e 'print join("\n",@INC),"\n"'

>
>
>Sarathy
>gsar@ActiveState.com
-- 
Nick Ing-Simmons


Follow-Ups from:
Gurusamy Sarathy <gsar@activestate.com>
Tim Bunce <Tim.Bunce@ig.co.uk>
References to:
Gurusamy Sarathy <gsar@activestate.com>

[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]