Ovid writes:

>   http://use.perl.org/~Ovid/journal/33441
> 
> In this case, I think either use_ok() should fail (which might break
> some test suites since its behavior has changed), or that it should
> issue a warning if $module is found in %INC.

How about instead having use_ok simply removing the %INC entry if it's
found, so that it can be used safely in exactly this situation?

Would doing that silently obscure any genuine bugs?

Smylers

Reply via email to