The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

Changes for version 1.00_2

  • added Build.PL to distribution
  • new method accepts a hash reference with attributes as well
  • META.yml added to distribution
  • List::SkipList v0.40 is required
  • changed version number to properly be treated as a beta by CPAN
  • fixed typo in README
  • 1.00_b1 Nov 22 2003
    • test cases rewritten
    • testing against overlapping ranges (e.g. '2,3' when '1,4' defined) is fatal
    • nodes can be redefined
    • array references cannot be keys
    • open-ended ranges are allowed
    • removed warnings registration
    • only a separator of ',' is supported
    • customization of separator or comparison method done through defining a custom node class
    • overlapping ranges is now a fatal error instead of warning
    • added first_key, next_key methods
    • requires Carp::Assert
    • complete rewrite using List::SkipList instead of trees

Modules

Allows hashes to associate values with a range of keys

Provides

in lib/Tie/RangeHash.pm
in lib/Tie/RangeHash.pm