On Fri, Nov 28, 2008 at 2:25 PM, Sam Roberts
<vieuxtech@gmail.com> wrote:
The above seems the simplest solution. I assume you don't like it
because if forces you to require"Utils" even if nobody ever uses it?
Exactly.
If that is a concern, replace the global require function with one
that calls the original, and them modifies the module
(if you wish) before returning it. This essentially allows you to
insert code in between the loaded codes require"Utils" and their use
of
Utils.Prompt().
This is perfect. It is working great. Thanks so much for the help.
--