[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: require in 5.1 work6
- From: Bernardo Signori <auxsoft@...>
- Date: Tue, 2 Aug 2005 01:06:02 -0300
Hi,
I've built lua 5.1-work6 under cygwin and I'm playing with the new
package functionality. I found this behaviour: if I call
require("anything") and the package can't be found, I get the
corresponding "package 'anything' not found" error; but if I
immediately call require("anything") again, this time I don't get any
error, although the package isn't loaded, of course. It seems like
package.loaded["anything"] is set to true the first time, even if the
package can't be found. Is this a bug or something wrong with my
installation?
--
Bernardo