Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re: Humanized lists of numbersby gryphon (Abbot) |
on Jun 23, 2001 at 01:40 UTC ( [id://90879]=note: print w/replies, xml ) | Need Help?? |
After some thought, I'd like to modify the if to this:
That way you don't end up with display-length sub-lists like "1-2, 4-5" in lists. Again, I'm sure there's a better way, but...
In Section
Seekers of Perl Wisdom
|
|