|
|
| Just another Perl shrine | |
| PerlMonks |
Re: For loop suggestionsby NetWallah (Monsignor) |
| on Jan 11, 2013 at 07:08 UTC ( #1012810=note: print w/ replies, xml ) | Need Help?? |
|
Try Range::Object::Serial - it can store ranges compactly, and provides methods to check for membership. Use moritz's (++) idea above to generate ranges.
Most people believe that if it ain't broke, don't fix it.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||