On Tue, Sep 03, 2002 at 03:34:39PM +1000, Ken Williams wrote:
> >I thought the whole idea was to run blib.pm to set @INC.  If 
> >the test suite
> >is setting up @INC we don't need blib.
> 
> blib.pm only adds to @INC.  Seems like the core requires 
> something to strip @INC down to a small set, not add to it.

@INC only contains paths to where the libraries will be installed.  Until
installation happens, perl can't find it's own not-yet-installed libraries
without help.

We remove all other entries from @INC so that previously installed modules
don't interfere with testing the new versions.


> Anyway, what I meant was that @INC needs to be one value to find 
> blib.pm, and then blib.pm changes @INC to be another value, so 
> there's no chicken/egg problem.

There is no other value to be changed to.  All you need to do is find lib/


> >>'.' won't necessarily be in the path anyway.
> >
> >Sorry, I ment perl's @INC.
> 
> That's what I meant too.  People can build Perl without '.' in 
> @INC, right?

I don't think so.


-- 

Michael G. Schwern   <[EMAIL PROTECTED]>    http://www.pobox.com/~schwern/
Perl Quality Assurance      <[EMAIL PROTECTED]>         Kwalitee Is Job One
If your module passes test
You're one of the very best
Don't fuck up the MANIFEST
Burma-Shave
        - ignatz

Reply via email to