On Mon, May 14, 2001 at 03:41:24PM -0400, John Porter wrote: > Damian Conway wrote [and John Porter reformats]: > > > > @bar[$foo]; # Access element int($foo) of array @bar > > %bar{$foo}; # Access entry "$foo" of hash %bar > > @bar{$foo}; # Syntax error > > %bar[$foo]; # Syntax error > > And why is that superior to: > > @bar[$foo]; # Access element int($foo) of array @bar > %bar{$foo}; # Syntax error > @bar{$foo}; # Syntax error > %bar[$foo]; # Access entry "$foo" of hash %bar As I said in another mail, consider $bar[$foo]; $bar{$foo}; Graham.
- Re: what I meant about hungarian notation Michael G Schwern
- Re: what I meant about hungarian notation Me
- Re: what I meant about hungarian notation Graham Barr
- Re: what I meant about hungarian notation Me
- Re: what I meant about hungarian notation Graham Barr
- Re: what I meant about hungarian notation Buddha Buck
- Re: what I meant about hungarian notation Damian Conway
- Re: what I meant about hungarian notation Graham Barr
- Re: what I meant about hungarian notation John Porter
- Re: what I meant about hungarian notation Graham Barr
- Re: what I meant about hungarian notation John Porter
- Re: what I meant about hungarian notation Graham Barr
- Re: what I meant about hungarian notation Me
- Re: what I meant about hungarian notation David L. Nicol
- Re: what I meant about hungarian notation Graham Barr
- Re: what I meant about hungarian notation Bart Lateur
- Re: what I meant about hungarian notation John Porter
- Re: what I meant about hungarian notation Edward Peschko