lua-users home
lua-l archive

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


> how is
> require 'pl' works
>
> I can run the example but not the one using
>
> require 'pl'
>
> it is looking for pl.lua but can not find it.
>
> is luarock needed or other magic?

pl is the Penlight library. [1]

It is not part of the Lua standard library.
You need to install it.

[1] https://github.com/stevedonovan/Penlight

-- 
Pierre Chapuis