NeoMadHatter
Platinum Member
how can i sort everything in a hash by keys except for the first key?
and also, how can i push stuff into a hash and make it stay in that order before i sort it?
i'm trying:
push @{ $HoA{$remus} }, $sirius;
where $remus and $sirius are read in from the input in a while <STDIN> loop.
and my sort is:
for $family ( sort (keys(%HoA)) )
and also, how can i push stuff into a hash and make it stay in that order before i sort it?
i'm trying:
push @{ $HoA{$remus} }, $sirius;
where $remus and $sirius are read in from the input in a while <STDIN> loop.
and my sort is:
for $family ( sort (keys(%HoA)) )