On Wed, Sep 20, 2000 at 05:10:55PM -0600, Tom Christiansen wrote: > >Which is silly, because you shouldn't have to say '$x = $x = 3' when you > >mean '$x = 3'. Just because there's a real reason behind it doesn't make it > >any less silly. > > I'd like to see where this can happen. Sounds like someone forgot to > declare something: > > our $x; > $x = 2; $x = 2; print ${"x"}; Maybe? I don't know, he mentioned it being a problem in certain instances when perl couldn't tell he was actually using the value more than once. I've been going under the assumption that this whole thing is without the benefit of use strict; a one-liner, perhaps. Michael -- Administrator www.shoebox.net Programmer, System Administrator www.gallanttech.com --
- RFC 12 (v3) variable usage warnings Perl6 RFC Librarian
- Re: RFC 12 (v3) variable usage warnings Michael Fowler
- Re: RFC 12 (v3) variable usage warnings Steve Fink
- Re: RFC 12 (v3) variable usage warnings Michael Fowler
- Re: RFC 12 (v3) variable usage warnin... Tom Christiansen
- Re: RFC 12 (v3) variable usage w... Michael Fowler
- Re: RFC 12 (v3) variable usage w... Steve Fink
- Re: RFC 12 (v3) variable usa... Tom Christiansen
- Re: RFC 12 (v3) variable... Steve Fink
- Re: RFC 12 (v3) variable... Tom Christiansen
- Re: RFC 12 (v3) variable... Steve Fink
- Re: RFC 12 (v3) variable usage warnin... Steve Fink
- Re: RFC 12 (v3) variable usage w... Michael Fowler
- Re: RFC 12 (v3) variable usa... Steve Fink
- Re: RFC 12 (v3) variable... Michael Fowler
- Re: RFC 12 (v3) variable... Steve Fink