R ryan.morgan09 New member Mar 22, 2009 #1 I'm trying to create a structure consisting of arrays with 12 elements each inside of a hash with $array[0] . ";" . $array[2] being the key. I'm getting "14" printed when I call print $hash[$key];
I'm trying to create a structure consisting of arrays with 12 elements each inside of a hash with $array[0] . ";" . $array[2] being the key. I'm getting "14" printed when I call print $hash[$key];
M martinthurn Guest Mar 22, 2009 #2 You need to show more of your code. The syntax for a hash is curly braces; square brackets indicate a list. $hash{$key} is a hash element
You need to show more of your code. The syntax for a hash is curly braces; square brackets indicate a list. $hash{$key} is a hash element