[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: make local oddness and package.prefix
- From: ramsdell@... (John D. Ramsdell)
- Date: 15 Mar 2006 06:47:16 -0500
Yes, your trick to compute the prefix
> lua -e 'print(string.match(package.path,".*;(.*)/share.*"))'
is much better than mine.
I still hope that future versions of Lua will supply this information
in a location called package.prefix, rather than making us rely on the
fact that package.path has a particular structure.