[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: table output
- From: steve donovan <steve.j.donovan@...>
- Date: Tue, 10 Nov 2009 16:25:41 +0200
On Tue, Nov 10, 2009 at 4:11 PM, hans elbers <hans@hpelbers.org> wrote:
> It is not intended for serializing, but it's very handy for debugging (or
> even to see what functions are in a loaded module (just do pr(_G) and
> scroll around in the output)
That's exactly it - if just for debugging you don't have to worry
about the result being exactly parseable again by Lua in all
circumstances.
And yes, we all have one of those in our toolboxes!
http://penlight.luaforge.net/api/modules/pl.pretty.html
BTW, it's a Lua FAQ question, which has some handy references:
http://batbytes.com/luafaq/#T1.15
steve d.