DOKK / manpages / debian 12 / libxmltv-perl / XMLTV::PreferredMethod.3pm.en
PreferredMethod(3pm) User Contributed Perl Documentation PreferredMethod(3pm)

XMLTV::PreferredMethod - Adds a preferredmethod argument to XMLTV grabbers

Add a --preferredmethod argument to your program, eg

  use XMLTV::PreferredMethod 'allatonce';

If a --preferredmethod parameter is supplied on the command-line, it will be caught already by the "use" statement, the string supplied in the use-line will be printed to STDOUT and the program will exit.

Don't forget to announce the preferredmethod capability as well.

XMLTV::Options, XMLTV::Capabilities.

2023-02-24 perl v5.36.0