<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">NAME
    IntRange::Iter - Generate a coderef iterator from an int range
    specification (e.g. '1,5-10,20')

VERSION
    This document describes version 0.001 of IntRange::Iter (from Perl
    distribution IntRange-Iter), released on 2021-07-17.

SYNOPSIS
      use IntRange::Iter qw(intrange_iter);

      my $iter = intrange_iter('1,5-10,15');
      while (my $val = $iter-&gt;()) { ... } # 1, 5,6,7,8,9,10, 15, undef, ...

DESCRIPTION
    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.

FUNCTIONS
  intrange_iter
HOMEPAGE
    Please visit the project's homepage at
    &lt;https://metacpan.org/release/IntRange-Iter&gt;.

SOURCE
    Source repository is at
    &lt;https://github.com/perlancar/perl-IntRange-Iter&gt;.

BUGS
    Please report any bugs or feature requests on the bugtracker website
    &lt;https://rt.cpan.org/Public/Dist/Display.html?Name=IntRange-Iter&gt;

    When submitting a bug or request, please include a test-file or a patch
    to an existing test-file that illustrates the bug or desired feature.

SEE ALSO
    Range::Iter

AUTHOR
    perlancar &lt;perlancar@cpan.org&gt;

COPYRIGHT AND LICENSE
    This software is copyright (c) 2021 by perlancar@cpan.org.

    This is free software; you can redistribute it and/or modify it under
    the same terms as the Perl 5 programming language system itself.

</pre></body></html>