> > This heuristic looks bogus, but what is it that actually 
> > fails for you?
> 
> Because heuristic looks bogus :)
> 
> 
> > (AFAICT, finding "Tk.pm" when looking for the incorrectly deduced
> > "tk.pm"
> > has nothing to do with this and is in fact unavoidable when using
> > a case-insensitive filesystem - perl itself would do likewise)
> 
> But this *is* avoidable with better heuristic:
> 
>  - first it suspects for "tk.pm" because of string scanning 
> "::tk::priv()"
>  - it searches tk.pm but file system gives "Tk.pm"

No. The filesystem say "yes" when asked: is there (i.e. -e)
a "tk.pm" in some member of @INC. The fact that you _know_ 
it's the wrong one (the one for module Tk) is irrelevant. 
Even "perl -Mtk -e 0" wouldn't get it "right", 
i.e. perl would happily load Tk. 

> But if authors of the module invented "is_insensitive_fs" for 
> something different - then its okay with me.

:)

Cheers, Roderich

Reply via email to