Version(3pm)
β¨ NAME β¨
XMLTV::Version β the lil module that adds a --version argument to your XMLTV grabbers π
πΈ DESCRIPTION πΈ
Okay bestie, so here's the vibe: you want your program to have a --version argument? This module literally hands you one. Just drop this in:
use XMLTV::Version '1.2';
That's it. That's the whole thing. π
And the way it works is so iconic β if a --version parameter shows up on the command-line, it gets caught already by the use statement. Like, before your program even gets its little shoes on. A message gets printed to STDOUT, and then the program just exits. Periodt. π
π«Ά Pro tip from your girl: put thatuse XMLTV::Versionstatement before your other module imports. That way, even if those other imports fail (tragic, I know π),--versionwill still work. Main character resilience energy.
π¦ SEE ALSO π¦
- XMLTV::Options
k bye, this page is from perl v5.40.1, dated 2025-04-19 β mwah, slay, go write a grabber bestie πβ¨
π¦ where this page comes from
- debian trixie: libxmltv-perl 1.4.0-1 Β· GPL-2.0-only
- ubuntu resolute: libxmltv-perl 1.4.0-1 Β· GPL-2.0-only
- ubuntu stonking: libxmltv-perl 1.4.0-1 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms