[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Suggestion for Lua 5.3.0 -- require search paths
- From: steve donovan <steve.j.donovan@...>
- Date: Mon, 7 Apr 2014 10:46:33 +0200
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 ;)
- References:
- Running multiple threads in a lua state, Milind Gupta
- Re: Running multiple threads in a lua state, Javier Guerra Giraldez
- Re: Running multiple threads in a lua state, Coroutines
- Re: Running multiple threads in a lua state, Luiz Henrique de Figueiredo
- Re: Running multiple threads in a lua state, Coroutines
- Re: Running multiple threads in a lua state, Sean Conner
- Re: Running multiple threads in a lua state, Coroutines
- Re: Running multiple threads in a lua state, Sean Conner
- Re: Running multiple threads in a lua state, Rena
- Re: Running multiple threads in a lua state, Coroutines
- Suggestion for Lua 5.3.0 -- require search paths, tonyp
- Re: Suggestion for Lua 5.3.0 -- require search paths, Petite Abeille
- Re: Suggestion for Lua 5.3.0 -- require search paths, Valerio Schiavoni
- Re: Suggestion for Lua 5.3.0 -- require search paths, Petite Abeille
- Re: Suggestion for Lua 5.3.0 -- require search paths, Enrico Colombini
- Re: Suggestion for Lua 5.3.0 -- require search paths, Andrew Starks