Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
1,2,8,9,10,11,12,43,66,109,121,122,123,657
and heres what it would look like afterbeing processed by the subroutine:
1,2,8-12,43,66,109,121-123,657
any help is appreciated
Edited 2003-03-19 by mirod: changed the title
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: my head is reeling...
by zengargoyle (Deacon) on Mar 18, 2003 at 23:53 UTC | |
|
Re: my head is reeling...
by particle (Vicar) on Mar 18, 2003 at 23:53 UTC | |
|
Re: my head is reeling...
by BrowserUk (Patriarch) on Mar 19, 2003 at 00:06 UTC | |
|
Re: Number lists to number ranges (was: my head is reeling...)
by shotgunefx (Parson) on Mar 19, 2003 at 15:32 UTC | |
|
Re: Number lists to number ranges (was: my head is reeling...)
by JamesNewman (Initiate) on Mar 19, 2003 at 18:22 UTC |