caller and strips leading \w+:: from it to 'generate' the plugin name. This is fine if I call it from within TWiki::Plugins::MyPlugin but broken in any other package, for example TWiki::Plugins::MyPlugin::MyPackage or even if I have more than one package in my plugin file.
The obvious fix is documentation; "this method can only be called from within the main package of a plugin".
Or "Ignore this function, use TWiki::Func::getPreferencesValue instead"
-- CrawfordCurrie - 19 Sep 2004