On Mon, 7 Aug 2000 10:45:01 -0400, Ted Ashton wrote:

>While I'm not yet prepared to advocate any of the suggestions, *if* lexicals
>were the default, the above code could be written:
>
>         $x = 2;
>         if (...) {
>           $x = 1;
>           ...
>         }
>         print "$x\n";
>
>Could it not?

Gee, that is the same situation as we have now, with global variables
and without strict. The only difference will surface only when your
project consists of more than one source file: file scoped lexicals vs.
everything trancending globals.

So: what good is it?

-- 
        Bart.

Reply via email to