AAT::XML(3)
π AAT::XML π
okay bestie, welcome to AAT::XML β it's the AAT XML module, and it's literally the one that handles all the XML file business for the AAT crew. this is from the User Contributed Perl Documentation section, so you already know it's giving β¨community-sourced excellenceβ¨. let's get into it, no cap.
π FUNCTIONS π
here's the whole roster, bestie. every single one, i'm not skipping a single soul.
πΈ Filename($dir, $name)
returns the Filename of the XML file sitting in directory '$dir' where the XML data field 'name' is '$name'. it's giving "where is that file at" energy and honestly? so useful. π¦
πΈ Name_List($dir)
returns a List of Names pulled from the XML data in directory '$dir'. boom, list, done, iconic. π
πΈ File_Array_Values
returns a List of Values of each field '$field' from file '$file', array '$array'. yes it takes all three of those, and yes you need them, so don't come for me. π
πΈ Read($file, $no_option)
reads the XML content from file '$file' OR from XML_CACHE. two vibes, one function. you get to pick. main character choice honestly. π«Ά
πΈ Write($file, $data, $root_name)
writes XML content '$data' to file '$file'. that's it, that's the whole thing. it writes. it slays. periodt. π₯
β¨ SEE ALSO β¨
go read these too, bestie, they're all in the family and they all ate:
AAT(3)AAT::DB(3)AAT::Syslog(3)AAT::Theme(3)AAT::Translation(3)AAT::User(3)
π AUTHOR π
this absolute legend wrote it: Sebastien Thebert <octo.devel@gmail.com> β thank you for your service, fr fr. π«‘π
okay that's the whole page, bestie!! and before you go β this lil doc was living its best life as perl v5.22.2, dated 2016-05-04. vintage but make it cute. mwah, love u, bye!! πππ¦
π¦ where this page comes from
- ubuntu jammy: octopussy 1.0.6-0ubuntu2 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms