in reply to strict-compliant code on windows

For people who didn't get the joke, on Windows looking for "Strict" will find "strict.pm" so the require that is part of use will work. However you will then import Strict; which won't work so well because there is no function Strict::import. There is a strict::import but it can't do anything if it isn't actually called...

This is why it is customary to have the package name match the file-name exactly, right down to case. :-)

On Unix, of course, the file-system is case-sensitive so you will fail to find Strict.pm and this won't work.

  • Comment on Re (tilly) 1: strict-compliant code on windows