in reply to undefined elements in array
Update2: To print:## I don't know how you're getting values for $i, $j, $value $hash{$i}{$j} = $value;
Hope this works for you.foreach $i (keys %hash) { foreach $j (keys %{ $hash{$i} }) { print $i, $j, $hash{$i}{$j}, "\n"; } }
Update1: If you insist on arrays, however, this will also work (but is more work):
push @array, "$i:$j:$value"; ## to print: foreach (@array) { print join (' ', split ":"); }
@a=split??,'just lose the ego and get involved!';
for(split??,'afqtw{|~'){print $a[ord($_)-97]}
|
|---|