develooper Front page | perl.perl5.porters | Postings from January 2001

1_compile.t and case insensitive filesystems

Thread Next
Craig A. Berry
January 23, 2001 17:50
1_compile.t and case insensitive filesystems
Message ID:
This test builds a list of extensions using File::Find, but that only returns a list of filenames, not extension names, and filenames might be all lower or all upper case depending on the OS and filesystem (the C library returns lower case on VMS).  The results in this instance do not match the contents of $Config{extensions}, so deletions from the %Core_Modules hash based on existence there are noops, as are the explicit deletions of CGI:Fast, Devel::Dprof, etc.

I was about to work up a patch that deleted a downcased version of everything otherwise deleted from %Core_Modules, but I was wondering why we even bother with File::Find at all rather than starting directly from $Config{extensions}?

Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About