PrintEvents(3pm)
π PrintEvents(3pm) π
okay bestie, welcome to XML::Handler::PrintEvents β it's the PerlSAX handler that just... prints stuff. for debugging. iconic behavior honestly β¨
πΈ NAME πΈ
XML::Handler::PrintEvents β prints PerlSAX events, purely for the debugging vibe π
π¦ SYNOPSIS π¦
use XML::Handler::PrintEvents;
my $pr = new XML::Handler::PrintEvents;
that's literally it. two lines. we love a low-effort queen π
β¨ DESCRIPTION β¨
so this PerlSAX handler does one thing and it does it flawlessly: it takes every PerlSAX event it receives and prints them to STDOUT. that's the whole job. main character energy, zero side quests π
when is this useful? when you're debugging PerlSAX filters, bestie π it's giving "let me see what's actually happening in here." no cap.
and the range?? it supports all PerlSAX handlers, including ignorable_whitespace. yes, even that one. we didn't forget her π«Ά
π AUTHOR π
Enno Derksen is the original author. respect the OG π
bug reports, hints, tips, and suggestions go to T.J. Mather at <tjmather@tjmather.com> β send him your thoughts, he's waiting π
fr fr, if you're stuck in a PerlSAX filter and nothing makes sense, just point this thing at it and watch the events roll by. that's the whole hack. iykyk π§
and that's the tea, bestie π this little page came to you via perl v5.32.0, dated 2021-01-07, and it's filed under PrintEvents(3pm). slay, go debug something gorgeous πβ
π¦ where this page comes from
- debian bookworm: libxml-handler-printevents-perl 0.01-8.1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: libxml-handler-printevents-perl 0.01-8.1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu jammy: libxml-handler-printevents-perl 0.01-8.1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libxml-handler-printevents-perl 0.01-8.1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libxml-handler-printevents-perl 0.01-8.1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libxml-handler-printevents-perl 0.01-8.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