Nicholas Clark <n...@flirble.org> wrote on 01/22/2009 10:28:46 AM:

> Isn't an explicit call to File::Glob::glob also (implicitly) going to 
use
> opendir() etc in a consistent fashion, on all platforms on which the XS 
is
> compiled?

I suspect that the answer is no.  VMS is not case preserving on the most 
popular File system that is uses (for example). 

Another troublesome metric to note is the sheer number
of operating system specific special cases for testing that extension
there are File::Glob (this result is from a 
recent rsync of bleed perl):

> grep '\$\^O' ext/File/Glob/t/* | wc -l
     28

admittedly a lot of those are for MacOS (that is the classic 9 and 
previous) 
operating system (one that I think Module::Build maintainers need not 
concern 
themselves with), but some are for VMS and some are for MSWin32 and other 
operating systems as well.

C<opendir()>, C<readdir()>, and C<closedir()> can be used and if used
the results obtained may require additional operating system/file system
specific handling.

Peter Prymmer

Reply via email to