On 19 Oct 2003 15:18:05 +0200, Tomas ?kesson wrote:
>
> On Sat, 18 Oct 2003, Mikhael Goikhman wrote:
> >
> > 3) You may use ModuleConfig tracker to get the module configuration.
> >
> > 4) If you replace "Debug => $debugging," with "Debug => \$debugging,"
> > then this will also automagically work if you uncomment EnableOptions.
>
> What is ModuleConfig tracker anyway, and what is the difference between
> this and EnableOptions? Are they two different ways of doing the same
> thing, in that case what's best?
These are pretty independent things, ModuleConfig tracker (see perllib
documentation) automatically gives you all "*YourModule: name value"
configuration, statical and dynamical.
EnableOptions gives you command line options, like --verbose --desk 2.
See FvwmPager or other modules that use both, options and module config.
Usually, the user preferences are defined using module configuration
and the things that may be different for different module instances are
passed as command line options.
Regards,
Mikhael.
--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Sun Oct 19 2003 - 14:23:01 BST