in reply to Re: Counting elements in arrayin 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"; [download]
Sorry for necrobumping ^))