Which says nothing about the input. Sometimes the simplest solutions are the best...
perl -le '@nToM=(shift..shift); print join(",",@nToM);' 1 10
In reply to Re: TMTOWTDI Puzzle: Generating a range of numbers
by hossman
in thread TMTOWTDI Puzzle: Generating a range of numbers
by Masem
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |