Don't ask to ask, just ask | |
PerlMonks |
Re: Generating ranges of numbersby Anonymous Monk |
on Jun 30, 2016 at 10:09 UTC ( [id://1166922]=note: print w/replies, xml ) | Need Help?? |
Sounds like homework. Can you describe the algorithm you would use in your own words? But most importantly: Why is "1 2 3" turned into "1:3" but "5 6 7" turned into "5:6 7"? What rule does that follow?
In Section
Seekers of Perl Wisdom
|
|