http://www.perlmonks.org?node_id=854859


in reply to Re^2: how internally $#array is working in Perl
in thread how internally $#array is working in Perl

How internally array holds the value like this way.I have checked the code by using Dumper function in Data::Dumper module.
In that, it printed only 10,1,2,3,4 but when I loop through the array.It printed 6 values as 10,10,1,2,3,4.Explain me how it works?
Thanks in advance