in reply to Module Proposal: Tie::SortHash

Surely you could accept a subroutine reference that takes the target hash as a parameter by reference ... ?

And I've got to say that this is the longest distance I've ever seen anyone go to avoid typing one keyword.

    -- Chip Salzenberg, Free-Floating Agent of Chaos