lua-users home
lua-l archive

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


2009/10/14 Michal Kolodziejczyk <miko@wp.pl>:
> Jonathan Castello wrote:
>
>> LuaSocket is loaded with require "socket", despite what you might
>> expect. At least in my environment, and I don't believe I changed any
>> LuaSocket file names.
>
> OK, sorry, you are right - it depends how luasocket was installed. It
> works for me, but it seems that usings luarocks you need "socket" indeed.
> Sorry for this misinformation.

Not only with LuaRocks -- the standard LuaSocket tarball uses "socket"
as the module name.

-- Hisham