lua-users home
lua-l archive

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


$ lua -E
Lua 5.2.2  Copyright (C) 1994-2013 Lua.org, PUC-Rio
> =package.path:gsub(';', '\n')
/usr/local/share/lua/5.2/?.lua
/usr/local/share/lua/5.2/?/init.lua
/usr/local/lib/lua/5.2/?.lua
/usr/local/lib/lua/5.2/?/init.lua
./?.lua
/usr/share/lua/5.2/?.lua
/usr/share/lua/5.2/?/init.lua
./?.lua    7

Why is ./?.lua present twice? The same redundancy isn't present in package.cpath.

--
Sent from my Game Boy.