lua-users home
lua-l archive

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


On Sat, May 17, 2014 at 10:26 AM, Andrew Starks <andrew.starks@trms.com> wrote:
> Also, ? In an assignment should be error:
> A?b = c

Or it may indicate autovivification:

A?b = c

being equal to

A = A or {}
A.b = c

Having said that, I'm good with the current (slightly verbose) way. I
ran into several cases with Perl autovivification where it worked
against me in subtle ways (and I've been doing Perl programming for a
very loooong time).

Paul.