The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

Search results for "dist:IntRange-Iter set::intspan"

IntRange::Iter - Generate a coderef iterator from an int range specification (e.g. '1,5-10,20') River stage one • 2 direct dependents • 2 total dependents

This module provides a simple (coderef) iterator which you can call repeatedly to get numbers specified in an integer range specification (string). When the numbers are exhausted, the coderef will return undef. No class/object involved....

PERLANCAR/IntRange-Iter-0.006 - 13 Dec 2021 00:06:06 UTC
1 result (0.04 seconds)