P
Peter Hickman
I have a generic file renaming code that lowercases the filename but before it
does the renaming it checks if the lowercased version of the filename already
exists. This works fine on Linux however on Max OS X the filesystem is case
agnostic and so if the file ZXC exists then perl will report that zxc, zxC, zXc,
zXC, Zxc, ZxC and ZXc all also exist even if they don't.
Is there a way to keep my code portable but not get this problem?
does the renaming it checks if the lowercased version of the filename already
exists. This works fine on Linux however on Max OS X the filesystem is case
agnostic and so if the file ZXC exists then perl will report that zxc, zxC, zXc,
zXC, Zxc, ZxC and ZXc all also exist even if they don't.
Is there a way to keep my code portable but not get this problem?