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
-- gam3
A picture is worth a thousand words, but takes 200K.
A picture is worth a thousand words, but takes 200K.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Case insensitive Filesystems.
by ww (Archbishop) on May 04, 2008 at 14:20 UTC | |
Re: Case insensitive Filesystems.
by BrowserUk (Patriarch) on May 04, 2008 at 14:37 UTC | |
Re: Case insensitive Filesystems.
by swampyankee (Parson) on May 04, 2008 at 15:57 UTC | |
Re: Case insensitive Filesystems.
by Cody Pendant (Prior) on May 04, 2008 at 12:34 UTC | |
by duelafn (Parson) on May 05, 2008 at 01:12 UTC | |
by regexes (Hermit) on May 06, 2008 at 07:45 UTC | |
Re: Case insensitive Filesystems.
by igelkott (Priest) on May 04, 2008 at 12:41 UTC | |
Re: Case insensitive Filesystems.
by educated_foo (Vicar) on May 04, 2008 at 13:58 UTC | |
Re: Case insensitive Filesystems.
by jonnyfolk (Vicar) on May 04, 2008 at 12:31 UTC | |
by fmerges (Chaplain) on May 04, 2008 at 15:50 UTC |
Back to
Seekers of Perl Wisdom