Version(3)
β¨ 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 theuse XMLTV::Versionstatement before your other module imports, so that even if they fail,--versionwill still work. Like, even when everything else is a mess,--versionstill 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
- alpine 3.24: xmltv-doc 1.4.0-r1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms