use Set::IntSpan; my $span = Set::IntSpan->new('1,3-5,7-10,15'); print join "\n" => $span->elements();
In reply to Re: Perl Module for dealing with number ranges
by eff_i_g
in thread Perl Module for dealing with number ranges
by VinsWorldcom
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |