lua-users home
lua-l archive

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

On Jul 9, 2009, at 3:41 AM, David Manura wrote:

The mapping of module names to file paths is contained inside
package.path and package.cpath.  You can parse this information
yourself--for example, see [1].

Hmmm... right... but that doesn't address cases where you have multiple modules in one file [1], or one module defined across multiple files [2][3], or multiple modules across multiple files aggregated into one file [4], or code which hasn't been loaded through 'require' [5], or ... pick your poison :)