Version(3pm)

πŸ“¦
version 1.4.0 Β· 4 versions
, in debian trixie, ubuntu resolute, ubuntu stonking

✨ 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 that use XMLTV::Version statement before your other module imports. That way, even if those other imports fail (tragic, I know 😭), --version will 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