Test::...oXPath(3pm)

πŸ“¦
version 0.13 Β· 4 versions
, in ubuntu resolute, ubuntu stonking

πŸ’– Test::HTML::Content::NoXPath β€” the fallback bestie πŸ’–

okay so you're reading the manpage for Test::HTML::Content::NoXPath (the header up top calls it Test::...oXPath(3pm) because manpage headers are messy like that, it's fine), and it lives in the User Contributed Perl Documentation section. it's a whole lil module. let's get into it πŸ¦‹


✨ NAME ✨

Test::HTML::Content::NoXPath β€” it's the HTML::TokeParser fallback for Test::HTML::Content. that's the whole vibe. it's the understudy. the backup dancer. the one who steps in when the stars don't show πŸ’…


🌸 SYNOPSIS 🌸

  # This module is implicitly loaded by Test::HTML::Content
  # if XML::XPath or HTML::Tidy::Simple are unavailable.

translation: you literally do not load this yourself, bestie. it just appears. like a fairy 🧚 it pops in when Test::HTML::Content is looking around and can't find its faves.


πŸŽ€ DESCRIPTION πŸŽ€

so here's the tea: this is the module that gets loaded when Test::HTML::Content can't find its prerequisites. and the prerequisites it's missing are these two:

    XML::XPath
    HTML::Tidy

that's it. that's the whole situation. no XPath, no Tidy, and this module is like "not me stepping in to save the day πŸ™ˆ" ✨

πŸ’œ EXPORT πŸ’œ

Nothing. nope. zero. it does not export a single thing.

instead it stomps over the Test::HTML::Content namespace. πŸ’€ yeah, you heard me. it just moves in, redecorates, puts up its posters. bold. iconic. slightly terrifying. but that's the design, no cap.


🌈 LICENSE 🌈

this code may be distributed under the same terms as Perl itself. so go forth, distribute responsibly 🫢


πŸ‘‘ AUTHOR πŸ‘‘

Max Maischein, corion@cpan.org β€” the legend who wrote this. give them their flowers πŸ’


πŸ”₯ SEE ALSO πŸ”₯

go read these too, they're all connected, iykyk:

  • Test::Builder
  • Test::Simple
  • HTML::TokeParser
  • Test::HTML::Lint
  • XML::XPath

⭐ lowkey reminder: this whole page is from perl v5.40.0, dated 2024-08-17. so if you're reading this in the future, hi, hope the fallback module still slays πŸ’–

and that's the page, bestie! go write some tests, drink some water, and remember: even the fallback module has main character energy πŸŒΈπŸ’…βœ¨

πŸ“¦ where this page comes from