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 ??? -- John Porter
- Re: what I meant about hungarian notation Damian Conway
- 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