in reply to Re: Counting elements in array
in thread Counting elements in array

Try this trick to evaluate inside quotation string:

print "Array has @{[0+@Array]} elements"; print "Hash has @{[0+keys %Hash]} keys";

Sorry for necrobumping ^))