On Sep 22, Dave Adams said:

I have a hash that I need to use later and display some values in a
particular order.  Perl comes up with its own way of ordering it but I
am wondering if I can instruct perl to have it listed in the way that
I want.

You can use Tie::IxHash (or Tie::IxHash::Easy if you're going to be using multidimensional hashes).

Look for either module on CPAN (http://search.cpan.org/).

--
Jeff "japhy" Pinyan        %  How can we ever be the sold short or
RPI Acacia Brother #734    %  the cheated, we who for every service
http://www.perlmonks.org/  %  have long ago been overpaid?
http://princeton.pm.org/   %    -- Meister Eckhart

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to