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

1_compile.t and case insensitive filesystems

Thread Next
From:
Craig A. Berry
Date:
January 23, 2001 17:50
Subject:
1_compile.t and case insensitive filesystems
Message ID:
5.0.2.1.0.20010123175509.0386bea0@exchi01
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


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About