[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: how to declare a module like "CGILua.urlcode"
- From: "jason zhang" <jzhang@...>
- Date: Fri, 17 Nov 2006 08:36:35 +0800
Thank you. I understand.
----- Original Message -----
From: "Tomas" <tomas@ccpa.puc-rio.br>
To: "Lua list" <lua@bazar2.conectiva.com.br>
Sent: Thursday, November 16, 2006 8:24 PM
Subject: Re: how to declare a module like "CGILua.urlcode"
>> So, I create a sub directory named "test" and move the "cgi.lua" into it.
> The error was raised by require, which could not find
> the file (you named it "cgi.lua", but required the name "test.cgi").
> While moved to the directory "test", `require' was able to find it
> (check the reference manual for the behavior of `require").
>
>> Then it works. But the CGILua don't work this way, all it's files are in the
>> same way.
>>
>> Could you please tell me what's wrong?
> I didn't understand what you mean with "CGILua don't work
> this way"...
>
> Regards,
> Tomas
>