lua-users home
lua-l archive

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


> require already does support versions albeit in an awkward way:
>
>  "Moreover, if the module name has a hyphen, its prefix up to (and
>  including) the first hyphen is removed. For instance, if the module name
>  is a.v1-b.c, the function name will be luaopen_b_c."
>
>  http://www.lua.org/manual/5.1/manual.html#pdf-package.loaders

Outstanding, you guys have thought of everything!

CONFIDENTIALITY NOTICE: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain information that is confidential or proprietary to K&L Microwave, Inc. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, immediately contact the sender by reply e-mail and destroy all copies of the original message.