lua-users home
lua-l archive

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


On Mon, Apr 7, 2014 at 10:36 AM, Andrew Starks <andrew.starks@trms.com> wrote:
> Wasn't this default 5.1, until it was deamed a security risk?

No, the only change in 5.2 was to put the local './?.lua' pattern at
the end. Caused some confusion, probably for the better.

Lua never has had "require from script location".  Windows version
works differently, the module path is rooted in the Lua exe location,
on other systems (a) hard to know where the executable is in general
and (b) not considered Good Form.

This is just the kind of question that happens when transitioning from
Python.  I soon just accepted that Lua is ... different.

And wrote pl.app.require_here ;)