{"added":null,"apiVersion":1,"behindSince":null,"buildDepends":[],"categories":["devel","perl5"],"comment":"Coercion rules for Data::Sah","compare":null,"dependentCount":null,"description":"Data::Sah::Coerce contains a standard set of coercion rules for Data::Sah. It is\nseparated from the Data-Sah distribution and can be used independently.\n\nA coercion rule is put in\nData::Sah::Coerce::$COMPILER::To_$TARGET_TYPE::From_$SOURCE_TYPE::DESCRIPTION\nmodule, for example: Data::Sah::Coerce::perl::To_date::From_float::epoch for\nconverting date from integer (Unix epoch) or\nData::Sah::Coerce::perl::To_date::From_str::iso8601 for converting date from\nISO8601 strings like \"2016-05-15\".\n\nBasically, a coercion rule will provide an expression (expr_match) that\nevaluates to true when data can be coerced, and an expression (expr_coerce) to\nactually coerce/convert data to the target type. This rule can be combined with\nother rules to form the final coercion code.","flavors":[],"html":"https://daemonports.org/dragonfly/devel/p5-Data-Sah-Coerce/","kind":"port","lastUpdate":null,"license":["ART10","GPLv1+"],"licenses":["Artistic-1.0","GPL-1.0-or-later"],"maintainer":"sunpoet@FreeBSD.org","name":"p5-Data-Sah-Coerce","newest":true,"newestVersion":"0.054","noVulnData":false,"origin":"devel/p5-Data-Sah-Coerce","otherSystems":[{"maintainer":"sunpoet@FreeBSD.org","newest":true,"origin":"devel/p5-Data-Sah-Coerce","path":"/devel/p5-Data-Sah-Coerce/","system":"FreeBSD","version":"0.054"},{"maintainer":"sunpoet@FreeBSD.org","newest":true,"noVulnData":true,"origin":"devel/p5-Data-Sah-Coerce","path":"","system":"HardenedBSD","version":"0.054"},{"maintainer":"sunpoet@FreeBSD.org","newest":true,"noVulnData":true,"origin":"devel/p5-Data-Sah-Coerce","path":"","system":"GhostBSD","version":"0.054"}],"packages":null,"pkgName":"p5-Data-Sah-Coerce-0.054","related":null,"repository":"DPorts","requiredBy":["devel/p5-Data-Sah"],"requiredByCount":1,"runDepends":["converters/p5-JSON","devel/p5-IPC-System-Options","devel/p5-Log-ger","devel/p5-Time-Duration-Parse-AsHash","devel/p5-subroutines","lang/p5-JavaScript-QuickJS","lang/perl5.42"],"status":null,"system":"dragonfly","systemLabel":"DragonFly","version":"0.054","versions":[{"date":"2026-11-11","version":"0.054"}],"vulnerabilities":null,"www":"https://metacpan.org/dist/Data-Sah-Coerce"}
