lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

> Extending the method Roberto outlined it would be possible for a module,
> instead of declaring a global, to pass its local public table as a return
> value of the chunk.

This is a nice solution, but it does not work well when used with `require'.
For several modules to share a single copy of a base module, I think they
should agree on a common fixed name.

-- Roberto