Case insensitive Filesystems.by gam3 (Curate)
|on May 04, 2008 at 12:11 UTC||Need Help??|
gam3 has asked for the
wisdom of the Perl Monks concerning the following question:
I was wondering what the best way is to handle case insensitive file systems.
On a *nix filesystem I want to open either File or FILE or throw an error if they both exist.
On Windows and Darwin this fails, as both files always exist, but are the same file.
I am looking for suggestions on the best way to handle this problem.
UPDATE: Spelling was ruff. Thanks Albannach
A picture is worth a thousand words, but takes 200K.