lua-users home
lua-l archive

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


On Mon, 21 Nov 2011 16:38:17 -0200
Alexandre Erwin Ittner <alexandre@ittner.com.br> wrote:

> 2011/11/21 startx <startx@plentyfact.org>:
> 
> > you need to load the gd module at least once, of course not every
> > time you call captcha.new() . i only addded it into the wiki for
> > easy copy and paste.
> 
> You may just load it in your module. The package system checks for
> loaded modules and do not load them again.
> 

this is correct, but i am always uncertain when i am supposed to do
that. is it considered good style to load everything required from the
module itself? 

startx