in reply to How can I create an array that holds number of variables with values?
${"var$_"}=0 for(1..20); #but why aren't you using @var[1..20] ? [download]
Originally posted as a Categorized Answer.