in reply to Re^2: array confusionin thread array confusion
my %system_name = (box1 => 1, box2 => 1) [download]
That line is creating an associative array (or hash) with 2 keys, 'box1' and 'box2'. You can then access the elements in the hash with the
$hash{key}