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

Re: [MacPerl] lib search paths order?



On Tue, May 19, 1998 at 11:25:26AM +0900, Peter Hartmann wrote:
} Is there a special reason that the "site_perl" folder seems to be searched
} after the lib: folder? I guess it should be the other way round...
} Currently it does not seem to be possible to override modules in the "lib"
} folder by simply placing the newer versions in the respective folder
} hierarchy level of the "site_perl" folder without removing the versions
} coming with MacPerl. I realized this after I renamed my "lib extras" folder
} to  "site_perl"  and things started to go wrong.
} Did I miss something?

It can be done, although I think you might have to remove the MacPerl
lib from the list and then put it back in after site_perl.  I have
mine ordered so that my libs come first.  One easy way to deal with
the problem, if you don't want to muck with the library list, is to
define a PERL5LIB with the environment editor, which, as I recall (I'm
on the Mac but running Linux), is a comma seperated list of Mac paths.

} 
} Peter Hartmann
} Visiting Scholar
} Ritsumeikan University, Kyoto, Japan
} e-mail:
} hartmann@mbox.kyoto-inet.or.jp (preferred)
} phv00542@askic.kic.ritsumei.ac.jp
} 
---
Paul Schinder
schinder@pobox.com

***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch