lua-users home
lua-l archive

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


On Tue, Jun 15, 2010 at 2:57 PM, Valerio Schiavoni
<valerio.schiavoni@gmail.com> wrote:
> Hello,
> what is the init.lua for?

See http://batbytes.com/luafaq/#T1.19

in particular:
[[
Why is there the pattern '/usr/local/share/lua/5.1/?/init.lua'? This
is allows for self-contained packages of modules. So if there was a
directory 'mylib' on the Lua path, then require 'mylib' would load
'mylib/init.lua'.
]]

steve d.