XML::G...Builder(3pm)
π XML::G...Builder β the PerlSAX handler that builds you an XML::Grove π
okay bestie, welcome to the manual page for XML::G...Builder(3pm), straight out of the User Contributed Perl Documentation collection. it's short, it's sweet, it's iconic. let's go π¦
β¨ NAME β¨
XML::Grove::Builder β a PerlSAX handler for building an XML::Grove. that's it, that's the whole job description, and she does it flawlessly π
πΈ SYNOPSIS πΈ
like, here's the whole vibe in code form:
use PerlSAXParser;
use XML::Grove::Builder;
$builder = XML::Grove::Builder->new();
$parser = PerlSAXParser->new( Handler => $builder );
$grove = $parser->parse( Source => [SOURCE] );
literally just five lines and you have a grove. we love a low-effort high-reward situation π«Ά
π DESCRIPTION π
XML::Grove::Builder is a PerlSAX handler for building an XML::Grove. no cap, that's the entire premise and it's a good one.
so the way you use her is: you make a brand new instance of XML::Grove::Builder, and then you hand that instance over as the Handler for a PerlSAX parser. that's the whole setup. then β and this is the part that hits different β calling "parse()" on that PerlSAX parser will return the grove that got built from that parse. like, it just gives it to you. main character behaviour honestly β¨
π reminder that this is the entire documented behaviour. no extra secret flags, no hidden modes. she does one thing and she slays at it.
π AUTHOR π
Ken MacLeod, ken@bitsko.slc.ut.us β thank you for your service, king π
π SEE ALSO π
perl(1)XML::Grove(3)PerlSAX.pod- Extensible Markup Language (XML)
http://www.w3c.org/XML
and that's the page, bestie!! go build some groves, you've got this π
this lil doc came to you courtesy of perl v5.36.0, dated 2022-11-29 β and it's still serving looks under the XML::G...Builder(3pm) title. mwah, bye πβ¨
π¦ where this page comes from
- debian bookworm: libxml-grove-perl 0.46alpha-14 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: libxml-grove-perl 0.46alpha-14 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libxml-grove-perl 0.46alpha-14 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libxml-grove-perl 0.46alpha-14 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libxml-grove-perl 0.46alpha-14 Β· 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