The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Devel::Git::MultiBisect::Opts - Prepare parameters for Devel::Git::MultiBisect

SYNOPSIS

    use Devel::Git::MultiBisect::Opts qw( process_options );

    my $params = process_options();

DESCRIPTION

This package exports on demand only one subroutine, process_options(), used to prepare parameters for Devel::Git::MultiBisect.

process_options() takes as arguments an optional list of key-value pairs. This approach is useful in testing the subroutine but is not expected to be used otherwise. process_options() is a wrapper around Getopt::Long::GetOptions(), so is devoted to processing command-line arguments provided, for example, to the command-line utility multisect (not yet created, but to be included in a future version of this CPAN distribution).

The subroutine returns a reference to a hash populated with values in the following order:

1 Default values hard-coded within the subroutine.
2 Command-line options.
3 Key-value pairs provided as arguments to the function.