No; $#arr1 is returning the correct number of elements in the array; it's just not returning the number of elements you expect to be in the array. Where do you populate @arr1?
In reply to Re: Reading a array
by swampyankee
in thread Reading a array
by rsriram
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |