I needed exactly this a couple of days ago, and I ended up using Set::IntSpan. Oh well... :-)
/me bows reverently to master regexer japhy
--ZZamboni
In reply to Re: List-to-Range generation
by ZZamboni
in thread List-to-Range generation
by japhy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |