---------------8<------------ Easiest way would be to just specify the order in $k you want: ---------------8<------------
Actually the easiest way would be to use Tie::IxHash::Easy; From the docs:- SYNOPSIS use Tie::IxHash::Easy; tie %x, 'Tie::IxHash::Easy'; ------------------------------------------------------------------------ -------- DESCRIPTION This module automatically ties any hash reference in the tied hash to the same class, making all of them behave like Tie::IxHash hashes. _______________________________________________ Perl-Unix-Users mailing list Perl-Unix-Users@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs