lua-users home
lua-l archive

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


On 11/26/05, Tomas <tomas@ccpa.puc-rio.br> wrote:

> > 1) Do I have to use require instead of loadlib ?
>         It is recommended.
>
I must have missed this.
As far I can tell package.loadlib is nigh on identical to 5.0.2
loadlib other than it
will now also unload (and incorporates some minor refinements).

For porting code , the addition of

> local loadlib = package.loadlib

should do this with a minimum of effort.

> 2)  If it is so, what further requirements do I have to consider?
If just porting the code, nothing. It should just work.

DB