BSD Ports

devel/p5-Data-Sah-Filter 0.025 DragonFly

Filtering for Data::Sah

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
ART10, GPLv1+
Categories
devel, perl5
Package size
137.1 KiB, 355.4 KiB installed

Description

Data::Sah::Filter contains a standard set of filter rules for Data::Sah (to be used in prefilters and postfilters clauses). It is separated from the Data-Sah distribution and can be used independently.

A filter rule is put in Data::Sah::Filter::$COMPILER::$CATEGORY:$DESCRIPTION module, for example: Data::Sah::Filter::perl::Str::trim for trimming whitespace at the beginning and end of string.

Basically, a filter rule will provide an expression (in expr_filter) in the target language (e.g. Perl, JavaScript, or others) to convert one data to another. Multiple filter rules can be combined to form the final filtering code. This code can be used by Data::Sah when generating validator code from Sah schema, or can be used directly. Some projects which use filtering rules directly include: App::orgadb (which lets users specify filters from the command-line).

In the other systems

The newest version among them is 0.025, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
DragonFlydevel/p5-Data-Sah-Filter0.025 newestnone known-[email protected]-
FreeBSDdevel/p5-Data-Sah-Filter0.025 newestnone known-[email protected]-
HardenedBSDdevel/p5-Data-Sah-Filter0.025 newestno data-[email protected]-
GhostBSDdevel/p5-Data-Sah-Filter0.025 newestno data-[email protected]-

Install

Binary package:

pkg install p5-Data-Sah-Filter

From DPorts:

cd /usr/dports/devel/p5-Data-Sah-Filter && make install clean

Dependency graph

Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.

Dependencies

Run dependencies 6

No port depends on this one.