http://www.perlmonks.org?node_id=1019568

evgen-i has asked for the wisdom of the Perl Monks concerning the following question:

Hi,

I have written a module called English.pm. A module from the standard perl distribution has the same name. This was not a problem under Linux, but now I started using my script with Strawberry Perl under Windows. For some reason it loads the wrong module, namely the standard English.pm instead of my module!

Question: is there a way to keep my package name "English", but that the correct module is loaded?

My alternative would be to rename it to Preprocessing::English or something like that, but in that case I would prefer not to put the English.pm file in the Preprocessing/ subfolder, but keep it where it is now, namely where the script is that uses it. Is that possible?