Stas,

I ran some tests before making this request to p5p. In doing so, it
turns out the cure is not much better than the bug; it really just
side skirts the problem by doing an empty return (see the import method
that's been added to UNIVERSAL.pm in bleadperl).

We still are faced with the problem that importing UNIVERSAL is
overwriting/overloading the import subroutine in lib (and apparently all other
loaded modules). Furthermore, from the notes in UNIVERSAL, this behavior
can't be fixed. This leads me to want to avoid use UNIVERSAL in any of
my code but I can't fix all the released modules.

Given that A::T is calling the undocumented method lib->import directly,
it seems it should work around this problem if tests import UNIVERSAL.
Could line 223 in A::TestConfig be changed to the following:

   unshift(@INC, $topdir);


William

-- 
Knowmad Services Inc.
http://www.knowmad.com

Reply via email to