Re: Outlaw to declare a lexical twice in the same scope

2006-09-11 Thread Rick Delaney
On Mon, Sep 11, 2006 at 04:35:08AM -0700, Steve Lukas wrote: I would argue for: If you declare a lexical twice in the same scope, it is an error! Well, this error happens most likely due to my tiredness and I want the compiler to wake me up. This can be important because I would

Re: Outlaw to declare a lexical twice in the same scope

2006-09-11 Thread Juerd
Steve Lukas skribis 2006-09-11 4:35 (-0700): If you declare a lexical twice in the same scope, it is the same lexical I would argue for: If you declare a lexical twice in the same scope, it is an error! I agree. The reason that I love my $foo is that it always gives me a new variable. I can

Re: Outlaw to declare a lexical twice in the same scope

2006-09-11 Thread Carl Mäsak
Steve (): If you declare a lexical twice in the same scope, it is the same lexical I would argue for: If you declare a lexical twice in the same scope, it is an error! I agree. Enforcing one and only one declaration feels like a Good Thing, for Juerd's reasons. With me, multiple 'my' for