lua-users home
lua-l archive

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

Speaking of which:  is there a better way to check whether a package
is available other than using require() and catching errors with

  - yuri

On Mon, Feb 18, 2008 at 12:19 PM, Roberto Ierusalimschy
<> 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