in reply to Finding length of array from refrence

You need another $ charcter

print "Idx last Elmnt=$#{ $AoAref }\n"; # ^

$#{ ... } says "Give me the highest index of the array who's reference is contained between the curlies".

So you need to add the variable that holds the reference, in this case $AoAref.


Examine what is said, not who speaks.
"Efficiency is intelligent laziness." -David Dunham
"Think for yourself!" - Abigail