in reply to Permanently sort a hash

Don't forget Tie::IxHash and what L~R says below.

-Paul

Replies are listed 'Best First'.
Re^2: Permanently sort a hash
by Limbic~Region (Chancellor) on Jun 04, 2009 at 15:07 UTC
    jettero,
    Yes, but while that module provides rudimentary sorting capability - it is primarily designed to preserve insertion order. I wrote Tie::Hash::Sorted for far more complex sorting needs as well as a number of optimizations under the covers.

    Cheers - L~R