• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Perl Sorting Hash question?

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)) )
 
Back
Top