[Templates] Case of default plugins in 2.15
Bill Moseley
moseley@hank.org
Mon, 18 Sep 2006 13:11:55 -0700
In 2.14 Template::Plugins::_load did this:
if ($module = $self->{ PLUGINS }->{ $name }) {
2.15 now does:
if ($module = $self->{ PLUGINS }->{ $name } || $self->{ PLUGINS }->{ lc $name }) {
which caught me because I had a plugin (relative to PLUGIN_BASE) that
shared a name with a $STD_PLUGINS plugin, only different in case.
So upon upgrading TT was loading the standard plugin instead of my
customized one.
That's probably my fault for using s similar name (or not using
PLUGINS hash to define my plugin).
Is case not important when loading plugins defined in the PLUGINS
hash?
Andy, you using OSX now?
--
Bill Moseley
moseley@hank.org