|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
This tracker defines the following observables:
"config line added"
my $configTracker = $module->track("ModuleConfig");
my $configHash = $configTracker->data;
my $font = $configHash->{Font} || 'fixed';
or:
my $configTracker = $module->track(
"ModuleConfig", DefaultConfig => { Font => 'fixed' } );
my $font = $configTracker->data('Font');
ConfigType - string "hash" (default) or "array"
ModuleName - module to query, the default is $module->name
LineFilter - "asis", "spacefree" (default), "lowerkeys", "upperkeys"
DefaultConfig - the config hash/array of config to initially use
Returns undef if the configuration line for line-key-or-number is not defined.
Returns an empty string if no module configuration is defined.
Last modified on August 26, 2005