[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Location of a package
- From: "Yuri Takhteyev" <yuri@...>
- Date: Mon, 18 Feb 2008 12:37:57 -0800
Speaking of which: is there a better way to check whether a package
is available other than using require() and catching errors with
pcall()?
- yuri
On Mon, Feb 18, 2008 at 12:19 PM, Roberto Ierusalimschy
<roberto@inf.puc-rio.br> wrote:
> Lua 5.2 will include a package.searchpath function. It is similar
> to this package.findfile, but it returns only the file name (not the
> file handler).
>
> -- Roberto
>