I'm not sure if it fills all requirements, but see also:
Set::Infinite
http://search.cpan.org/~fglock/Set-Infinite-0.61/lib/Set/Infinite.pm

- Flavio S. Glock

2006/4/9, James E Keenan <[EMAIL PROTECTED]>:
> I have created a module suitable for uploading to CPAN and request
> comments on its name.  Here is the first part of the documentation of
> what is currently called "Set-Gapfillers":
>
> *****
>
> NAME
>    Set::Gapfillers - Fill in the gaps between integer ranges
>
> SYNOPSIS
>        use Set::Gapfillers;
>        $gf = Set::Gapfillers->new(
>            lower   => -12,
>            upper   =>  62,
>            sets    => [
>                [  1, 17 ],     # Note:  Use comma, not
>                [ 25, 42 ],     # range operator (..)
>                [ 44, 50 ],
>            ],
>        );
>

Reply via email to