in reply to about order in hash keys
if you want them in the exact insertion orderforeach my $key(sort keys %hash){......} #or numeric sort foreach my $key( sort {$a<=>$b} keys %hash){......}
hashes are so flexible, you just need to figure out the scheme you need.my $index=0; for(1..100){ $hash{$index}{'input1'} = $input1; $hash{$index}{'input2'} = $input2; #etc...... $index++; }
|
|---|