http://qs321.pair.com?node_id=289494


in reply to Re: Re: Re: Re: Any Point in Uploading Tie::SortedHash
in thread Any Point in Uploading Tie::SortedHash

Set $DB_BTREE->{compare} before tieing the hash. However, accessing the tied hash in the compare routine leads to deep recursion (FETCH method uses the compare routine to navigate the tree).

Replies are listed 'Best First'.
Re: Re: Re: Re: Re: Re: Any Point in Uploading Tie::SortedHash
by Limbic~Region (Chancellor) on Sep 06, 2003 at 23:12 UTC
    danger,
    While this sounded like a good thing, it doesn't provide near enough functionality for the purpose of my module.
  • Ability to change the sort routine on the fly
  • Ability to sort on anything to include values

    Thanks anyway - I learned something new which is always a good thing

    Cheers - L~R