Try this trick to evaluate inside quotation string:
print "Array has @{[0+@Array]} elements"; print "Hash has @{[0+keys %Hash]} keys";
Sorry for necrobumping ^))
In reply to Re^2: Counting elements in array
by Anonymous Monk
in thread Counting elements in array
by finfan
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |