Sophie

Sophie

distrib > Mageia > 6 > armv7hl > media > core-release-src > by-pkgid > 53dc3e606557bd45ff6a99fd68252380

perl-Pod-Elemental-MakeSelector-0.120.0-2.mga6.src.rpm

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.

Generated packages:

Other version of this rpm: