in reply to Re^4: Package Variables
in thread Package Variables
If on the other hand, you knew enough to use lib or -I to get perl to load your Config, you should know enough not to use already used names
You could easily write something to warn you, using Module::Find, Module::CoreList, Module::Mapper, Module::Finder, Module::Locate, Devel::Modlist, Module::Which, Module::Which::List, so that
would warn you, but I don't know of any programming language that would try to do that by default, but I don't know of any languages that try to do this at all :)use warnings::modulecollision;
People seem to catch on pretty quick, its like house numbers, you can have many with the same number, as long as the street names are different :)
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^6: Package Variables
by kurt2439 (Sexton) on Mar 28, 2011 at 12:48 UTC |