I'm using the following script to add multiple values to a hash
foreach $val (@array){
@tmp=split(/,/,$val);
push ( @{ $hash{$tmp 1 }}, $tmp[0]);
}
I want to sort that hash, and print only the values for the first keys
In reply to hash first value by gfarhat
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |