Version(3)

πŸ“¦ version 1.4.0, in alpine 3.24

✨ NAME ✨

XMLTV::Version β€” bestie, this is the little module that adds a --version argument to your XMLTV grabbers πŸ’… (and yes, this page lives in the User Contributed Perl Documentation section, section 3, so if you were looking for Version(3)… you found her πŸ‘‘)


πŸ¦‹ DESCRIPTION πŸ¦‹

Okay so the whole gig here is: this module adds a --version argument to your program. That's it. That's the vibe. ✨

Like, literally, you just do this:

use XMLTV::Version '1.2';

And now your program has a --version flag. Iconic.

So here's the tea πŸ«– β€” if a --version parameter is supplied on the command-line, it gets caught already by the use statement (yes, the use itself, main character energy fr fr). A message gets printed to STDOUT, and then the program just… exits. Done. Bye. πŸ’€

πŸ’– Pro tip from your girl: it is best to put the use XMLTV::Version statement before your other module imports, so that even if they fail, --version will still work. Like, even when everything else is a mess, --version still shows up to the party. Slay. πŸŽ€

🌸 SEE ALSO 🌸

  • XMLTV::Options β€” go check her out, she's also part of the family 🫢

✿ and that's the whole page, bestie ✿ β€” brought to you by perl v5.42.2, dated 2025-06-30. Mwah πŸ’‹ πŸŒˆβ­πŸ’œ

πŸ“¦ where this page comes from