lua-users home
lua-l archive

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

2017-02-07 12:59 GMT+02:00 Javier Guerra Giraldez <>:

> What I would like is that package.searchpath() would replace another
> character, like '$' with the directory where the function calling
> 'request' resides. a crude implementation:
> function package.searchpath (name, path, sep, rep)

Over to you, supporters of the notion. Javier has reduced the problem
to a mere monkeypatching of one routine in the package library.
Try it out. Do you like it?