[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: RE: How to add a module directory to the module path?
- From: Thomas Buergel <Thomas.Buergel@...>
- Date: Mon, 21 Feb 2011 09:39:40 -0800
> What are some of the ways I can add a directory to the module path? I want to
> keep my personal modules in my data directory tree, rather than in something
> under /usr.
Append your directory to package.path so the loader finds it, as described here:
http://www.lua.org/manual/5.1/manual.html#pdf-package.loaders
Tom