Is there a simple way to take a list of numbers which can be in the range 1 - 15. And put a dash in place of consecutive numbers.
So that for example if you had the
$rangestart + 1) print (" - " . $n [$i - 1]); }