in reply to Case insensitive Filesystems.

Look at the files' inodes, i.e. (stat $file)[1]