Fix env to work for Makefile.PL too.
authorDan Brook <broq@cpan.org>
Mon, 1 Nov 2010 21:55:57 +0000 (21:55 +0000)
committerDan Brook <broq@cpan.org>
Mon, 1 Nov 2010 21:55:57 +0000 (21:55 +0000)
commit2ac971b6f7e828ae722cc37dbceb25bf7a47160f
treefe2c176828437f553b8c9bd00b5cfb48ae692c59
parent247fc27b588ee7b963fc552a93fd74d88857004d
Fix env to work for Makefile.PL too.

Rewrote $lookup so it is now sane and does what it says in the comment:
looks up the directory structure until it finds a Makefile.PL or hits
the root directory (aka the error condition).
script/env