NAME
Getopt::Pad::ExitRequest - The exception that ends a parse successfully (internal)
DESCRIPTION
This module is internal to Getopt::Pad. It is not part of the public API and can change without notice. Programs use "GetOptions" in Getopt::Pad; this page is for people working on Getopt::Pad itself.
Every trigger of an automatic option (--help, --version, --create-completions, --create-default-config) throws an ExitRequest once it has done its work. It carries the finished output, final newline included. GetOptions prints the output to STDOUT as it is and exits with status 0, without knowing which option asked for it.
METHODS
- output
-
The text to print.
SEE ALSO
Getopt::Pad::Spec, Getopt::Pad::Error
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.