Catman..._simple(3pm)
π Catman..._simple π
okay so bestie, welcome to the Catman..._simple page β that's the title, and it lives in section 3pm of the User Contributed Perl Documentation, so you know it's a Perl module situation. let's get into it π«Ά
β¨ NAME β¨
Catmandu::Fix::xml_simple β parse/convert XML to key-value form
like. it takes XML. and it makes it a nice lil key-value thing. that's the whole vibe. πΈ
π¦ SYNOPSIS π¦
xml_read(xml)
xml_simple(xml)
xml_read(xml, simple=1) # equivalent
so you got two ways to flex here, and they're literally the same thing β xml_read(xml, simple=1) is just xml_simple(xml) wearing a different outfit. no cap. π
π DESCRIPTION π
This Catmandu::Fix transforms MicroXML or parses XML strings to key-value form with XML::Struct.
that's it. that's the whole job. it's giving glow-up for your XML β¨ β MicroXML gets transformed, XML strings get parsed, and everything lands in key-value form, courtesy of XML::Struct. iconic behavior, honestly.
π OPTIONS π
See Catmandu::Fix::xml_read for parsing options.
bestie, no options live here π the parsing options are all over in Catmandu::Fix::xml_read β go check that page, this one's just pointing you there. iykyk. π§
and that's the whole page, short and sweet like a lil strawberry π β this was perl v5.36.0, dated 2022-09-15, so yeah, a tiny bit vintage but still slaying. mwah ππ
π¦ where this page comes from
- ubuntu noble: libcatmandu-xml-perl 0.17-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libcatmandu-xml-perl 0.17-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libcatmandu-xml-perl 0.17-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms