PKWALIFY(1p)
π PKWALIFY π
okay bestie, so pkwalify is your lil validation bestie for Kwalify schemas on data structures π. That's the whole vibe.
πΈ SYNOPSIS πΈ
pkwalify [-v] [-s] [-m parse-mod] -f schemafile datafile
β¨ DESCRIPTION β¨
so basically, <pink>pkwalify</pink> takes the data in datafile (which can be a YAML file or a JSON file, pick your fighter π
) and validates it against a schema you defined over in schemafile (which, plot twist, can also be a YAML or a JSON file π¦). Matching energy, matched vibes, no cap.
Now, the literal requirement here β and this is not optional, it's giving prerequisites β is that you need one of these installed to parse YAML files:
YAMLYAML::XSYAML::Syck
β¦or one of these for JSON files:
JSONJSON::XS
orrr you can just pass the module straight up on the command line, main character style π (that's the -m flag, we'll get there, stay with me).
The program returns the number of errors found in datafile. An exit status of 0 means no errors. Zero. None. Clean. Immaculate. π§
bestie please remember: the exit status IS the error count, so a nonzero exit doesn't just mean "eh it kinda failed" β it's literally telling you how many things went wrong π
π OPTIONS π
-fschemafileβ point at your schema file, and it can be YAML or JSON. This one is Required. like, you cannot skip it, it's not a suggestion, it's the whole assignment π-mparse-modβ tell pkwalify which YAML or JSON Perl module to use. The valid modules are, and I'm quoting the roster exactly:YAML,YAML::XS,YAML::Syck,JSONandJSON::XS. That's the list. Don't get creative π-sβ be silent if the document is valid. no notes, no fanfare, just quiet success β¨-vβ show the script and module versions and exit. Little version reveal moment π-h,--helpβ show a summary of the options. Your lil cheat sheet π«Ά
π AUTHOR π
Slaven ReziΔ, <srezic@cpan.org> π β yes the legend himself.
β SEE ALSO β
go be nosy, bestie:
Kwalifykwalify(1)JSONJSON::XSYAMLYAML::XSYAML::Syck
and that's the whole page, periodt π
this doc is living under perl v5.40.1, dated 2026-01-27, filed in section PKWALIFY(1p). slay, go validate something π¦β¨
π¦ where this page comes from
- ubuntu resolute: pkwalify 1.24-1build1 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- ubuntu stonking: pkwalify 1.24-1build1 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms