in reply to use seems to be case INSENSITIVE!!

Your filesystem is probably case insensitive. Perl decides whether you have the module by seeing whether it can find the corresponding file. Since your filesystem doesn't seem to know the difference between Socket.pm and socket.pm, it happily reports that IO::socket is available.

Replies are listed 'Best First'.
Re^2: use seems to be case INSENSITIVE!!
by MarkovChain (Sexton) on Oct 12, 2009 at 19:42 UTC

      Mac is case insensitive, despite its BSD heritage.

      Takes two seconds to test...

        It is case insensitive by default, but you can't guarantee that every volume mounted on a Mac is case insensitive.

        Use diskutil to see if a volume is case-sensitive or not:

        $ uname Darwin $ diskutil info disk0s2 | grep 'File System' File System: Journaled HFS+ $ diskutil info disk1s2 | grep 'File System' File System: Case-sensitive Journaled HFS+