As a newbie to Perl, I just don't understand what kind of philosophy is behind of the following result:
$cnt1 = @arr;
# this gives the length of the array 'arr'
$cnt2 = @arr[ @indices_arr ];
# this gives the last element of the @arr[ @indices_arr ];
Is there someone who can explain the difference between the two?