L
Larry
Hi!,
I have a multi dimensional hash made up like this below:
my $global = {};
$global->{"KEY1"}->{"ID"} = k;
$global->{"KEY1"}->{"VALUE1"} = "...";
$global->{"KEY1"}->{"VALUE2"} = "...";
$global->{"KEY2"}->{"ID"} = k;
$global->{"KEY2"}->{"VALUE1"} = "...";
$global->{"KEY2"}->{"VALUE2"} = "...";
Now I'd like to sort it by ID (0..1) then print it, is there an easy way to
do that?
thanks
I have a multi dimensional hash made up like this below:
my $global = {};
$global->{"KEY1"}->{"ID"} = k;
$global->{"KEY1"}->{"VALUE1"} = "...";
$global->{"KEY1"}->{"VALUE2"} = "...";
$global->{"KEY2"}->{"ID"} = k;
$global->{"KEY2"}->{"VALUE1"} = "...";
$global->{"KEY2"}->{"VALUE2"} = "...";
Now I'd like to sort it by ID (0..1) then print it, is there an easy way to
do that?
thanks