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


in reply to Re: Get ranges from a list of numbers (like 1,2,3 => 1-3)
in thread Get ranges from a list of numbers (like 1,2,3 => 1-3)

Thank you! That is exactly what I need!