Web::Q...LibXML(3pm)

πŸ“¦
version 1.01 Β· 2 versions
, in debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking

πŸ’– Web::Q...LibXML πŸ’–

okay bestie, you're looking at the manual for Web::Query::LibXML (it lives in the 3pm section of your man pages, and yes the header truncates it to Web::Q...LibXML which is lowkey giving "my name got cut off in the group chat" energy but we move πŸ’…). It's a fast, drop-in replacement for Web::Query, and honestly? it ate.


✨ VERSION ✨

version 1.01 β€” she's serving 1.01 and she knows it πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

use Web::Query::LibXML;

# imports wq()
# all methods inherited from Web::Query
# see Web::Query for documentation

so like. that's it. that's the whole vibe. you use it, you get wq(), you get every method from Web::Query for free, and if you wanna know how any of those methods work you go read Web::Query's docs. no cap 🫢


🌸 DESCRIPTION 🌸

Web::Query::LibXML is a Web::Query subclass that overrides the _build_tree() method so it uses HTML::TreeBuilder::LibXML instead of HTML::TreeBuilder::XPath. that's the whole glow-up ✨

and the payoff? it's a lot faster than its superclass. like, main character speed. πŸ”₯

bestie, use this module. unless you literally cannot install (or depend on) XML::LibXML on your system β€” in which case, sad, but the superclass is right there. πŸ’€

πŸŽ€ FUNCTIONS πŸŽ€

  • wq($stuff) β€” this is just a shortcut for Web::Query::LibXML->new($stuff), and it is exported by default. so you don't even have to ask for it, she just shows up. iconic. πŸ‘‘

πŸ’œ METHODS πŸ’œ

All public methods are inherited from Web::Query. every single one. she's not reinventing anything, she's just making it faster. periodt. 🧚


πŸ“œ LICENSE πŸ“œ

Copyright (C) Carlos Fernando Avila Gratz.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. slay, open source queen 🌈


πŸ‘‘ AUTHOR πŸ‘‘

Carlos Fernando Avila Gratz <cafe@q1software.com>

thank you for your service, king πŸ«‘πŸ’–


πŸ” SEE ALSO πŸ”

  • Web::Query
  • HTML::TreeBuilder::LibXML
  • XML::LibXML

go read those too, bestie, the lore runs deep πŸ“šβœ¨


πŸ™ˆ BUGS πŸ™ˆ

found a bug? want a feature? please report it on the bugtracker website:

https://github.com/tokuhirom/Web-Query/issues

and when you submit that bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or the desired feature. like, show us the receipts, don't just say "it's broken" 😭 β€” a tiny repro is the love language of maintainers fr fr πŸ“


okay that's the whole page, you're all caught up πŸ’… this was perl v5.38.2, dated 2024-01-20, and honestly she's still thriving. go build something cute with her, bestie πŸ¦‹πŸ’–

πŸ“¦ where this page comes from