This variable, which is usually set to a value of 0, represents the index of the first element in any array. Programmers who are used to using 1 as the index of the first element of an array could change the value of this variable to suit their preference.
Example
Seems odd to even concidering changing the index default, once armed with the knowledge that PERL arrays start at zero, $#array gives you last index and $count = @array; gives number of index's in an array, you don't need to change anything , do you ?
"In complete darkness we are all the same, only our knowledge and wisdom separates us, don't let your eyes deceive you.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.