Re: Explaination

2007-11-22 Thread Tom Phoenix
On 11/21/07, AndrewMcHorney <[EMAIL PROTECTED]> wrote: > Can someone the reasoning why it is technically correct that when > extracting a scalar item from an array that one must use > $array_name[$index] instead of @array_name[$index] ? Reasoning don't come in cans. :-) When one codes as you did

Explaination

2007-11-22 Thread AndrewMcHorney
Hello Can someone the reasoning why it is technically correct that when extracting a scalar item from an array that one must use $array_name[$index] instead of @array_name[$index] ? To me, the logical way is to use the array name with the symbol of array. It is my understanding that using $v