lua-users home
lua-l archive

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


On Mon, Jan 3, 2011 at 5:00 PM, Steve Litt <slitt@troubleshooters.com> wrote:
> I inserted require("luaposix") at the top of my program, and it errored out
> with "module 'luaposix' not found".

The module name is just 'posix', so require("posix") should work. Just
one of the little gotchas; what the library calls itself isn't
necessarily the name of the module (e.g. Luafilesystem/lfs,
luaexpat/lxp, etc)

steve d.