Re: making user definable variables really global
Derek Robert Price <[email protected]> Mon, 16 Jun 2003 14:02:10 -0400
| Newsgroups | gmane.comp.tex.texi2html.devel |
|---|---|
| Organization | Ximbiot <http://ximbiot.com> |
| Message-ID | <[email protected]> |
Dumas Patrice wrote:
>Hi,
>
>I am struggling with the singular manual, and it appears that if there is
>a my variable in the texi2html script, the value cannot be overwrited
>by a required file (that is quite logical as the scope of the variable is
>then the script file). Thus I am going to remove lots of my for variables in
>texi2html.init and make these variables global (which is hurting me
>inside, after all the my variables I did ;-).
>
>If somebody knows a better approach I'd be glad to hear.
>
>
Again, how about sourcing the files into a Texi2HTML::Config package or
the like? I'm torn over whether the .init file should contain the
"package Texi2HTML::Config" line or not, but it might not hurt.
Derek
--
*8^)
Email: [email protected]
Get CVS support at <http://ximbiot.com>!
--
When the only tool you own is a hammer, every problem begins to resemble a
nail.
- Abraham Maslow