On Wed Jun 29 16:03:20 2011, DOY wrote:
Show quoted text> No, this is still broken. The reason I ran into this bug was when I ran
> a script which did a chdir, and Find::Lib returned the pre-chdir
> directory because it got it from $ENV{PWD} which isn't updated by perl's
> chdir(). $ENV{PWD} *cannot* be relied upon in any cases for this to be
> correct.
Can you provide a test case or a little background on what program does that? It must be
something very specific to do a chdir before even loading fully @INC.
(Cwd::chdir updates $ENV{PWD})
Thanks