Catman...trings(3pm)

πŸ“¦
version 0.06 Β· 4 versions
, in ubuntu resolute, ubuntu stonking

πŸ’– Catmandu::Fix::wd_simple_strings πŸ’–

okay bestie, so this whole page lives in the User Contributed Perl Documentation for the Catmandu::Fix::wd_simple_strings module β€” the manpage name is Catman...trings(3pm) if you're keeping score, and yes the name got squished like a cropped selfie. We're calling it by its real name anyway. ✨

It's short, it's sweet, it's giving "tiny module, big glow-up." Let's go. πŸŽ€


🌸 NAME 🌸

Catmandu::Fix::wd_simple_strings β€” this one simplifies the labels, descriptions, and aliases of Wikidata entity records. literally its whole personality. πŸ’…


⭐ VERSION ⭐

version 0.06 β€” yeah, small number, big energy. πŸ¦‹


🧚 DESCRIPTION 🧚

so this is a Catmandu::Fix, and what it does is take a Wikidata entity record and simplify the labels, aliases, and descriptions. think of it as decluttering but for nested hashes, main character energy only.

in particular, bestie, it converts stuff that looks like this:

"en": { "language: "en", "value": "foo" }

"en": [ { "language: "en", "value": "foo" },
        { "language": "en", "value": "bar" } ]

into stuff that looks like this:

"en": "foo"

"en": ["foo","bar"]

look at that. nested objects and arrays of objects β†’ plain strings and arrays of strings. ate. no cap. πŸ”₯


πŸ” SEE ALSO πŸ”

  • Catmandu::Fix::wd_simple β€” this one applies both Catmandu::Fix::wd_simple_strings and Catmandu::Fix::wd_simple_claims. so it's the bundle deal, iykyk. πŸ’œ

πŸ‘‘ AUTHOR πŸ‘‘

Jakob Voß β€” the icon. the legend. 🫢


This software is copyright (c) 2014 by Jakob Voß.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

fr fr, same terms as Perl 5 itself β€” go forth and remix responsibly. 🧚

okay and one last thing for the group chat: this page was written as User Contributed Perl Documentation for Catman...trings(3pm) on 2025-08-15, generated by perl v5.40.1 β€” so if anyone asks where you read it, that's the receipt. bye bestie, go simplify some strings! πŸ’–πŸŽ€βœ¨

πŸ“¦ where this page comes from