[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:
>On Sun, 09 Jan 2000 15:51:05 GMT, Nick Ing-Simmons wrote:
>>One could go hunting for executable perls a then do 
>>
>>/path/to/a/perl -e 'print join("\n",@INC),"\n"'
>
>Hey, that's a neat idea.
>
>I think we only want to add the sitelibs from older versions, but grepping
>that out shouldn't be a problem.

Assuming .../a/perl is "new enough" then  .../a/perl -V:sitelib

will do the 'grepping' for you ;-)

-- 
Nick Ing-Simmons


References to:
Gurusamy Sarathy <gsar@activestate.com>

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