Mailing List Archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [tlug] Non-standard Perl Module Locations



On Tue, 11 Mar 2008, steven smith wrote:

David Shanahan wrote:

Almost identical with perl, just manipulate the @INC array.

unshift @INC, $d->perllib_sitesearch();
unshift @INC, $d->perllib_site();

Sometimes you will have to do your include path manipulation inside a BEGIN block so it will get executed before you have loaded any modules too.

This is why Larry invented 'use lib'. See 'perldoc lib' for details. -- Tod


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links