This is something that I was looking for. But the messages from Andy and Bill are also helpful and interesting, taught me ways to tackle it differently.
Thanks every one for the prompt response. perdeep Perdeep K. Mehta Hartwell Center for Bioinformatics & Biotechnology St. Jude Children's Research Hospital Memphis, TN 38105-2794 Tel: 901-495 3774 http://www.hatwellcenter.org/ -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Allegakoen, Justin Devanandan Sent: Tuesday, January 23, 2007 9:22 PM To: perl-unix-users@listserv.ActiveState.com Subject: Re: [Perl-unix-users] perl Hash help ---------------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 _______________________________________________ Perl-Unix-Users mailing list Perl-Unix-Users@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs