Re: install question..
Neil Kandalgaonkar (njk@odyssee.net)
Wed, 7 Jan 1998 12:15:14 -0400
At 5:55 AM -0400 7/1/98, Robin Houston wrote:
>At 13:33 06/01/98 -0400, Neil Kandalgaonkar wrote:
>
>>Yes, you can add directories to @INC at compile time.
>
>Unfortunately, that won't work. "use" is done at compile-time, before the
>unshift has executed.
Oops, you're right. I was trying to come up with a "simple" example...
simple, but wrong. (OTOH, if you modifed @INC within a BEGIN block this
would work, but 'use lib' is easier & better.).
--
Neil Kandalgaonkar njk@odyssee.net