lua-users home
lua-l archive

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


On Tue, Nov 23, 2010 at 1:07 PM, Roberto Ierusalimschy <roberto@inf.puc-rio.br> wrote:
> Can require (or a derivative therof) be made to search a custom path?  I
> think that this is what Dirk was asking, and I'd like it as well.

Have a look at 'package.searchpath' in Lua 5.2.

That's exactly what I needed. 
--
Kevin Vermeer