- Name: perl-Pod-Elemental-MakeSelector
- Version: 0.120.0
- Release: 5.mga9
- Epoch:
- Group: Development/Perl
- License: GPL+ or Artistic
- Url: https://metacpan.org/release/Pod-Elemental-MakeSelector
- Summary: Build complex selectors as a single sub
- Architecture: noarch
- Size: 21514
- Distribution: Mageia
- Vendor: Mageia.Org
- Packager: umeabot <umeabot>
Description:
The selectors provided by the Pod::Elemental::Selectors manpage are fairly
limited, and there's no built-in way to combine them. For example, there's
no simple way to generate a selector that matches a section with a specific
name (a fairly common requirement).
This module exports a single subroutine: 'make_selector'. It can handle
everything that Pod::Elemental::Selectors can do, plus many things it
can't. It also makes it easy to combine criteria. It compiles all the
criteria you supply into a single coderef.
A selector is just a coderef that expects a single parameter: an object
that does Pod::Elemental::Paragraph. It returns a true value if the
paragraph meets the selector's criteria.
- BuildArch:
- ExcludeArch:
- ExclusiveArch:
- Cookie: localhost 1647776229
- Buildhost: localhost