LOCALE:...AML.3PM(1)
π LOCALE:...AML.3PM(1) β like, the Yaml po4a module bestie
okay so real talk, this is a page from the User Contributed Perl Documentation section of the manual (section 3pm, iykyk), and it's all about Locale::Po4a::Yaml. let's get into it β¨
πΈ NAME πΈ
Locale::Po4a::Yaml β the glow-up machine that converts YAML files from/to PO files π
π¦ DESCRIPTION π¦
Locale::Po4a::Yaml is a module that literally helps you translate Yaml files into other [human] languages. no cap, that's the whole vibe π
So here's what it does: the module extracts the value of YAML hashes and arrays. and the hash keys? not extracted. periodt. they stay exactly where they are π ββοΈ
NOTE: this module parses the YAML file with YAML::Tiny. that's the parser it's dating, don't ask questions π
β¨ OPTIONS ACCEPTED BY THIS MODULE β¨
these are this module's particular options, its little main-character traits π
keysβ a space-separated list of hash keys to process for extraction, and every other key gets skipped, sorry not sorry. keys are matched with a case-sensitive match (soNameandnameare not the same bestie, be careful π). ifpathsandkeysare used together, values are included if they're matched by at least one of the options (it's an OR situation, very inclusive π ). arrays values are always returned unless theskip_arrayoption is provided.pathsβ a comma-separated list of hash paths to process for extraction, all other paths are skipped. paths are matched with a case-sensitive match. ifpathsandkeysare used together, values are included if they're matched by at least one of the options. arrays values are always returned unless theskip_arrayoption is provided.skip_arrayβ do not translate array values. that's it, that's the whole thing π«
π SEE ALSO π
go check these out, they're iconic in their own right:
π«Ά AUTHORS π«Ά
- Brian Exelbierd
<bex@pobox.com>
π COPYRIGHT AND LICENSE π
- Copyright Β© 2017 Brian Exelbierd.
- Copyright Β© 2022 Martin Quinson
<mquinson#debian.org>.
This program is free software; you may redistribute it and/or modify it under the terms of GPL v2.0 or later (see the COPYING file). slay, legally speaking βοΈβ¨
and that's the tea π β this page was brought to you by perl v5.42.0, dated 2025-07-13, living its best life in LOCALE:...AML.3PM(1). mwah ππ§
π¦ where this page comes from
- alpine 3.23: po4a-doc 0.74-r0 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms