NAME

Getopt::Pad::Parser - the parsing engine

DESCRIPTION

The parsing engine: runs Getopt::Long per level, fires the triggers of auto options seen on the command line, descends into subcommands before resolving a level's values, loads the config values for the root level, hands every declared option its command line and config values to resolve, consumes positionals, and builds the generated result objects. Throws Getopt::Pad::Error for user mistakes; the triggers throw Getopt::Pad::ExitRequest carrying their output. It never exits itself.

Part of the Getopt::Pad distribution; see its documentation for the user-facing API.

AUTHOR

davenonymous <perl@davenonymous.com>

COPYRIGHT AND LICENSE

Copyright 2026 davenonymous

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.