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 (so Name and name are not the same bestie, be careful πŸ™ˆ). if paths and keys are 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 the skip_array option 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. if paths and keys are used together, values are included if they're matched by at least one of the options. arrays values are always returned unless the skip_array option 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 Β© 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