lua-users home
lua-l archive

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


On Jun 2, 2011 5:34 AM, "Pierre Chapuis" <catwell@archlinux.us> wrote:
>
> On Thu, 2 Jun 2011 11:39:41 +0100, Tony Finch wrote:
>
>> Lua could perhaps switch on error-by-default mode the first time it sees a
>> "global" declaration.
>
>
> Maybe it could be optional but still more explicit,
> with something like Perl Strictures?
>
> --
> Pierre 'catwell' Chapuis
>

Say by writing something like:
require('strict')
at the top of your source? :) (strict is a built-in standard library? I don't have access to a computer to check right now...)

--
Sent from my toaster.