- or download this
$sort_line_contents->{element_one}->{element_two}
- or download this
$sort_line_contents->{1}->{2} = Item1;
$sort_line_contents->{0}->{3} = Item2;
$sort_line_contents->{1}->{4} = Item3;
$sort_line_contents->{1}->{5} = Item4;
$sort_line_contents->{2}->{6} = Item5;
- or download this
my @hash_keys2 = sort { %{$sort_line_contents}->{$b} <=> %{$sort_li
+ne_contents}->{$a} } keys %{$sort_line_contents};
- or download this
foreach (reverse sort keys %{$sort_line_contents}) { push(@hash_keys2,
+$_);}
- or download this
foreach my $hk (@hash_keys2){
...
#output to other part of program
}
}