http://www.perlmonks.org?node_id=1030555


in reply to Re: List-to-Range generation
in thread List-to-Range generation

Hmm, just trying to figure out a way to test this is bending my mind. So is this true? This method only works for ranges up to 2^15?

What if you split up the ranges? It would work for any list of up to 32,768 consecutive numbers, right?