table of contents
Version(3pm) | User Contributed Perl Documentation | Version(3pm) |
NAME¶
XMLTV::Version - Adds a --version argument to XMLTV grabbersDESCRIPTION¶
Add a --version argument to your program, eguse XMLTV::Version '$Id: Version.pm,v 1.3 2010/04/24 12:28:22 crispygoth Exp $';
If a --version parameter is supplied on the command-line, it will be caught already by the "use" statement, a message will be printed to STDOUT and the program will exit.
It is best to put the use XMLTV::Version statement before other module imports, so that even if they fail --version will still work.
SEE ALSO¶
XMLTV::Options2017-01-24 | perl v5.24.1 |