Changes for version 2.000009 - 2026-04-07

  • Add Getopt::Yath::State object returned by parse_options/process_args
  • Add multi-stage subcommand parsing example to Tutorial
  • Add Getopt::Yath::Tutorial with step-by-step usage guide
  • Add missing Cpanel::JSON::XS dependency to dist.ini
  • Move Test2::V0 from runtime to test prerequisites
  • Fix wrong %INC key in JSON error message cleanup
  • Fix negated set_env_vars writing the un-negated value
  • Fix fit_to_width ignoring the prefix parameter
  • Fix default_short_examples calling SUPER::default_long_examples
  • Fix get_env_value using $ref instead of $$ref for negated env vars
  • Fix runtime crash in Settings::Group::remove_option
  • Fix numerous POD typos and add METHODS sections to POD
  • Expand test coverage

Documentation

Modules

Option processing yath style.
Build hash based classes.
An instance of options.
Base class for options.
Options with default values that also accept arguments.
Options with a default list of values
Options that accept multiple values, but also provide a default if no values are provided.
Like Getopt::Yath::Option::PathList with autofill.
Option type for boolean values (no arguments)
Options that take multiple boolean values.
Option that can be incremented as a counter.
Options that can take multiple values.
Base class for 'map' style options.
Option that takes one or more paths, wild cards allowed.
Option type for basic scalar values.
Representation of parsed command line options.
Representation of an option group.
Representation of the result of parsing command-line options.
Terminal utility methods
A step-by-step guide to using Getopt::Yath
Utility functions for Getopt::Yath