[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: "require" with customizable dynamically path?
- From: Rob Hoelz <rob@...>
- Date: Tue, 21 Apr 2009 09:07:20 -0500
On Apr 21, 2009, at 9:03, Michael Bauroth <Michael.Bauroth@falcom.de>
wrote:
Hi,
I implement something like a dynamical plugin system. The plugins
are located on a different path than the default LUA
It's Lua, not LUA. :)
environment. Each plugin can have a different path described in a
separate xml file.
Is it possible to handle such behaviour with the normal "require"
function from Lua? (we build the Lua dll ourself)
Check out the docs on require and package.loaders.
Best Regards
Micha