The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

Changes for version 1.03

  • x better use of /\s*/ instead of / */ so that tabs don't catch you off-guard x enable application use of App::Options objects to read additional data structures
    • $option_processor = App::Options->new(@args);
    • $option_processor->read_option_files(\%values, [$file]);
  • x allow for subclassing (App::Options::YAML, etc.)
    • made App::Options object-oriented to allow for subclassing
    • split read_option_files() method out of the read_options() method (for subclassing)
  • x save the import arguments for later print_usage or later reparsing (as $self->{init_args})

Modules

Combine command line options, environment vars, and option file values (for program configuration)