[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Finding and loading Lua files
- From: Tomas <tomas@...>
- Date: Wed, 21 Apr 2004 10:31:30 -0300 (BRT)
> This works, but makes at least three assumptions:
>
> - All of your Lua modules are installed in the same common folder
> - You know in advance the name of that common folder, and have it set up
> somewhere (e.g. in an environment variable LUA_PATH)
I don't think these two assumptions above are problematic.
The libraries/applications don't need to know what is that folder.
> - All module folders are named as the main modules inside them
This is not mandatory. But it simplifies the installation and
avoids name collisions.
Tomas