Thanks for the time you took to explain that, makes a lot of sense. I've actually started to incorporate some Lua into our C code, pretty basic right now, but it is interesting. Would be interesting to have the same kind of hooks Lua has with C in Perl.
Anyhow, thanks again for the excellent and informative reply.