|
|
||
|
On Feb 18, 2008, at 9:37 PM, Yuri Takhteyev wrote:
Speaking of which: is there a better way to check whether a package is available other than using require() and catching errors with pcall()?
E.g.:
local ok, zlib = pcall( require, 'zlib' )
What's wrong with it?