The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

Changes for version 0.31

  • various fixes and tests for negative numbers
  • init_opts defaults to default_opts, not empty hashref
  • save opts given at new() time in $self
  • add tests for invert(empty) == universal and invert(universal) == empty
  • fix bug in invert() on ranges not bounded with a max
  • multi_union() now returns an empty_range when given no arguments
  • fix some hard to track down edge cases in sectionify() that were triggered e.g. when doing set ops on ranges that touched but did not overlap
  • handle buggy rangespecs appropriately (eg "-3 -2..-1")
  • start using inf.pm to fix bugs with non-libc glibc (win32 and solaris at least): http://www.cpantesters.org/cpan/report/5e73b674-6ca0-1014-9aa7-d95518fa49ba http://www.cpantesters.org/cpan/report/f432d580-1921-11e2-bdcc-373e3b6b8117

Modules

create regular expressions that check for integers in a given range
create iterators for Number::Range::Regex objects

Provides

in lib/Number/Range/Regex/CompoundRange.pm
in lib/Number/Range/Regex/EmptyRange.pm
in lib/Number/Range/Regex/Range.pm
in lib/Number/Range/Regex/SimpleRange.pm
in lib/Number/Range/Regex/TrivialRange.pm
in lib/Number/Range/Regex/Util.pm
in lib/Number/Range/Regex/Util/inf.pm