in reply to Hash Order
use strict; use warnings; use Tie::IxHash; tie my %hash, "Tie::IxHash"; %hash = ( Number => '11', EX => 'ArraySite', AM => 'IOPort', PLE => 'AddressGroup', ); for (keys %hash) { print "$_ => $hash{$_}\n" } __END__ Number => 11 EX => ArraySite AM => IOPort PLE => AddressGroup
Update: Running a Super Search (?node_id=3989;HIT=hash%20order;re=N) yields (among many other relevant nodes) Best method to order a hash of arrays.
|
|---|